RSS Forums RSS
Please support our C# advertiser: Programming Forums

From database to a datagrid

Join Date: Jul 2007
Posts: 17
Reputation: 1qaz2wsx7 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
1qaz2wsx7 1qaz2wsx7 is offline Offline
Newbie Poster

From database to a datagrid

  #1  
Jul 31st, 2007
Hi

I want to move the data in a cartein
table to a DataGrid.

What im doing right now is using the:
dataGridView1.DataSource = dataset.Tables[0];

And its adding rows and columns automaticly according to the data base.
(including the headers)

I dont want to do it like that,
i want to design manualy the DataGrid at the beginning.
and then just put the data inside my designed
datagrid, without changing anything or add anything, and without the Headers.
(i want to make my own headers)

How can i do that ?

[im using visual c# with Pervasive.SQL 8]

Thanks.
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:05 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC