I’m new to .Net and c# and need to write a application that performs some automated hardware tests and records the results in a sql server 2000 database. I need basic functionality, like populating grids and combo boxes with sql data, filtering a list based on some user input, and inserting/updating sql data based on test results.
I’m wondering if there are any recommendations on the best way to go about this.
Datasets? LINQ? SqlConnection Class?
I’m comfortable writing sql statements and stored procedures and I have seen examples of calling sp’s from c# but it that the best way to go?
You may want to use traditional ADO instead of LINQ since you are using SQL Server 2000. While most LINQ operations work fine with 2000, some do not.
As far as finding good intro’s to ADO.NET take a look at the examples in the MSDN documentation (which i find to be pretty good):
Here is a good tutorial on using a GridView with ADO.NET