Grids!!!!

supra80

Newcomer
Joined
Oct 5, 2004
Messages
7
Hi Experts

Im a vb6 programmer and have stepped into the wonderful worl of .NET. Im attempting to build a fairly simple invoicing system however im having difficulties with the grid control shipped with .net.

I have an add line button on my form that once pressed i would like to add contents that the user has selected into the current row of the grid can somebody please explain how i can do this, I have read some books but they all talk about filling the grid using a dataset.

Your help is greatly appreciated..
 
The DataGrid relies on a DataSource........The simplest way to achieve what you have described above is to bind your grid to a DataTable and then use the DataTable to manipulate the grid data (e.g adding a row to the DataTable is like adding a row to the DataGrid). The ComponentOne grids are a lot more flexible......unless you can wait until VS 2005 :(
 
Back
Top