how to connect SQL Server database? [modified]
-
Dear All, I'm just learn ASP.Net. I make a website by using Visual Studio.Net 2005. I want to take data from table in SQL Server into my website. But i do not know how to connect SQL Server with ASP.Net and take data from table to my website. Thank before hand for your help. Best Regard, Sovann.
modified on Wednesday, January 09, 2008 3:34:56 AM
-
Dear All, I'm just learn ASP.Net. I make a website by using Visual Studio.Net 2005. I want to take data from table in SQL Server into my website. But i do not know how to connect SQL Server with ASP.Net and take data from table to my website. Thank before hand for your help. Best Regard, Sovann.
modified on Wednesday, January 09, 2008 3:34:56 AM
You will get many articles if you search for this. You need to use the following classes for doing this. 1 - SQLConnection 2 - SQLCommand 3 - SQLDataAdapter 4 - DataSet/DataTable/SQLDataReader
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
You will get many articles if you search for this. You need to use the following classes for doing this. 1 - SQLConnection 2 - SQLCommand 3 - SQLDataAdapter 4 - DataSet/DataTable/SQLDataReader
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Sovann wrote:
But i'm a new asp.net so i don't know much about that.
Explaining the whole stuff through forums is too tough. Consider reading the books online or buying an ASP.NET book
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Sovann wrote:
But i'm a new asp.net so i don't know much about that.
Explaining the whole stuff through forums is too tough. Consider reading the books online or buying an ASP.NET book
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
If i readed the books or bought asp.net, I don't ask you and CodeProject. I have less time for doing my website so that i ask in CodeProject. I think that there are kind people have to share some knowledge to me. Ok it's nothing if you don't want to help me. Thank you for your spend valuable time to me. I will try more or wait someone's help else. :sigh:
-
Sovann wrote:
But i'm a new asp.net so i don't know much about that.
Explaining the whole stuff through forums is too tough. Consider reading the books online or buying an ASP.NET book
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
-
If i readed the books or bought asp.net, I don't ask you and CodeProject. I have less time for doing my website so that i ask in CodeProject. I think that there are kind people have to share some knowledge to me. Ok it's nothing if you don't want to help me. Thank you for your spend valuable time to me. I will try more or wait someone's help else. :sigh:
-
If i readed the books or bought asp.net, I don't ask you and CodeProject. I have less time for doing my website so that i ask in CodeProject. I think that there are kind people have to share some knowledge to me. Ok it's nothing if you don't want to help me. Thank you for your spend valuable time to me. I will try more or wait someone's help else. :sigh:
Sovann wrote:
If i readed the books or bought asp.net, I don't ask you and CodeProject. I have less time for doing my website so that i ask in CodeProject.
The reason why I have not answered your question here is, it's too vague to answer through a forum. Internet got tons of articles for this. I have given you all the possible classes used for this. Why don't search for some articles which explains how to use them instead of wasting time for asking this here and waiting for reply ?
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions