JeffTullin
Programmer
Hiyall..
I'm just getting started with c#, and as a get-me-running project I want to just open a database connection, select a field from an ad-hoc bit of SQL, and iterate through the results.
Most examples I have seen are huge - does anyone have a 20 liner example of this sort of thing?
I have access to SQL Server data, Oracle data, and many ODBC DSNs.
I always found it tricky to choose between ADO, DAO, OLEDB in the past, but I see that the choices are wider again in .NET. What is this dataset stuff all about?
I'm just getting started with c#, and as a get-me-running project I want to just open a database connection, select a field from an ad-hoc bit of SQL, and iterate through the results.
Most examples I have seen are huge - does anyone have a 20 liner example of this sort of thing?
I have access to SQL Server data, Oracle data, and many ODBC DSNs.
I always found it tricky to choose between ADO, DAO, OLEDB in the past, but I see that the choices are wider again in .NET. What is this dataset stuff all about?