Solved

Displaying a Database in a Datagrid c#

Posted on 2006-07-05
2
199 Views
Last Modified: 2010-04-16
Experts,

I'm fairly new to .net and c#.  Using visual studio i have added a sqlconnection, dataset  and sqldataadapter.  on my form i have a datagrid with the datasource set to my dataset.  i have manged to display the column names of my table successfully but it's not displaying the contents of my table.  

and ideas?

cheers
0
Comment
Question by:Oli999
2 Comments
 
LVL 23

Expert Comment

by:apresto
ID: 17041292
what code do you have so far?
0
 
LVL 14

Accepted Solution

by:
existenz2 earned 125 total points
ID: 17041298
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question