configuring web.config please help its urgent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ruchikagupta
    New Member
    • Mar 2007
    • 16

    configuring web.config please help its urgent

    i want to save link of a web page in web.config how to do tht?
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Please provide more information. Do you mean dynamically? What is your platform?

    Comment

    • ruchikagupta
      New Member
      • Mar 2007
      • 16

      #3
      i m using asp.net 2.0
      the prob is :
      the thing is i m sending mail from .net web application tht contains a link of the web page
      i hv done it statically saving the link a string and adding it to the contents of the email
      the problem is i want to configure web.config and save link in tht
      so wat section shud i add in order to save tht link.
      and how to use tht in .cs file.
      if possible plz ask him to provide me with the web.config code.

      Comment

      • ansumansahu
        New Member
        • Mar 2007
        • 149

        #4
        Originally posted by ruchikagupta
        i want to save link of a web page in web.config how to do tht?
        Hi ,

        I think you can add this attribute inside AppSettings tag in the Web.Config file


        <add key="LINK" value="www.abc. com" />

        And read back this Key in your file and substitute the value accordingly.

        thanks
        ansuman

        Comment

        • ruchikagupta
          New Member
          • Mar 2007
          • 16

          #5
          thanx for ur help

          Comment

          Working...