Also, if you were referring to setting the connection string as an application variable, then you could define it in Application_Start of Global.asax.
 
Application["Conn"] = System.Configuration.ConfigurationManager.ConnectionStrings["Conn"]
 
/Ryan

 
On 1/10/06, teranetlists <[EMAIL PROTECTED]> wrote:
Actually, they should be setup in web.config. Please see
http://groups.yahoo.com/group/AspNet2/message/134.

Thanks,
Ryan

--- In [email protected] , vinod thomandra <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>   its just simple sam...
>   go to global.asax
>   in the page load,
>   give the string..
>   before that attach CData.
>   bye
>   vinod
>
> Sam Hansh <[EMAIL PROTECTED]> wrote:
>         Hi,

> How to define globaly connection string in asp.net & use this
string..
> plz help me bcoz i m new for asp.net..

>
>
>
>    
> ---------------------------------
>   Yahoo! Photos – Showcase holiday pictures in hardcover
> Photo Books. You design it and we'll bind it!
>
>   SPONSORED LINKS
>         Object oriented programming language   Object oriented  
Programming languages
>    
> ---------------------------------
>   YAHOO! GROUPS LINKS
>
>    
>     Visit your group "AspNet2" on the web.
>    
>     To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
>    
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
>    
> ---------------------------------
>  
>
>  
>
>
>                  
> ---------------------------------
> Yahoo! Photos
>  Got holiday prints? See all the ways to get quality prints in
your hands ASAP.
>







YAHOO! GROUPS LINKS






--
Thank you,
Ryan Olshan
     Website - http://www.StrongTypes.com
     Group - http://groups.yahoo.com/group/StrongTypes
     Blog - http://blogs.dirteam.com/blogs/ryan/

YAHOO! GROUPS LINKS




Reply via email to