Hi guys,
I have one query , I have connection add in web.config . Just open
and access database, again i am going to next page shall I connect database
without using open connection. is possible means how????
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 29, 2012, 10:33 PM
As per my knowledge it is not possible.
but you can try using static connection
i.e.
public static SqlConnection con = new SqlConnection("connection string");
hope this help.