i want to save link of a web page in web.config how to do tht?
configuring web.config please help its urgent
Collapse
X
-
Tags: None
-
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
-
Originally posted by ruchikaguptai want to save link of a web page in web.config how to do tht?
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
ansumanComment
-
Comment