hi,
I'm absolutely newbie to asp.net and i've just started working with database. each time I want to make a database query, I have to start the connection by creating a new sqlConnection object. Is there anyway to keep the connection with the database, err, how to create the dataset or datasource for the whole project, so that I don't have to repeat the above action again and again. does it have anything to do with web.config file?
In php, it can easily be done by create a config.php storing db configuration then include it in all other files. what about in asp.net?
thanx