DB Connections in .aspx pages
-
Hi, I have developed a set of .aspx pages that interact with a database. I have put the same database connection string into every page, but this isn't ideal for obvious reasons. Is there any way I can specify the database connection string outside of the .aspx pages or somwhere that all pages can access it from? Cheers. Dave. :confused: :confused: :confused:
-
Hi, I have developed a set of .aspx pages that interact with a database. I have put the same database connection string into every page, but this isn't ideal for obvious reasons. Is there any way I can specify the database connection string outside of the .aspx pages or somwhere that all pages can access it from? Cheers. Dave. :confused: :confused: :confused:
-
Davey wrote: somwhere that all pages can access it from? Yes,in
Global.asax
Mazy "So,so you think you can tell, Heaven from Hell, Blue skies from pain,... How I wish,how I wish you were here."
Wish You Were Here-Pink Floyd-1975Thanks for the pointer...:)