Question grid view

boknat

Member
Joined
Oct 4, 2011
Messages
9
Programming Experience
Beginner
how to display data in grid view using code that you can edit, update and delete the data...
do i need to have a stored proc in this?

thanks :)
 
Last edited:
You can use ADO.NET to populate and save a DataTable. There is plenty of information around about data access, including a link in my signature. You can simply bind that DataTable to a DataGridView via the grid's DataSource property.
 
Here's an excellent source: Forms over Data Video Series

While there are plenty of articles out there for working with data I prefer to learn visually. As an added bonus this series really does cover the basics on a lot of situations you'll come across when you need to interact with data rather than simply connecting to a data source.
 
You can use ADO.NET to populate and save a DataTable. There is plenty of information around about data access, including a link in my signature. You can simply bind that DataTable to a DataGridView via the grid's DataSource property.

thanks mate, but i don't really like to use ado.net, instead i want to be hard coded?

can you send mu links or tutorials pls.

thanks in advance mate.
 

Latest posts

Back
Top