c# and sql

  • Thread starter Thread starter Nathan Downes
  • Start date Start date
N

Nathan Downes

Hi,

I am just wondering if anyone has any decent guides on working with sql
server 2005 with c#?

Thanks in advance.
 
Nathan said:
I am just wondering if anyone has any decent guides on working with sql
server 2005 with c#?

If you look in the .NET docs for SYstem.Data.SqlClient namespace
then it has some examples.

Good ? At least authoritative !

Arne
 
Arne said:
If you look in the .NET docs for SYstem.Data.SqlClient namespace
then it has some examples.

Good ? At least authoritative !

Arne

Thanks! Had a quick look through that and slapped a quick program
together just to run an sql query and display the results in a console app.

Just wondering, what's the best way to get this data into a grid?


Thanks in advance again!
 
Nathan said:
Just wondering, what's the best way to get this data into a grid?

Read a DataSet via an SqlDataAdapter and use that as DataSource
for a control is one out of many possibilities.

Arne
 
Arne said:
Read a DataSet via an SqlDataAdapter and use that as DataSource
for a control is one out of many possibilities.

Arne
Thanks! I'll give it a go!

N
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top