Monday, August 16, 2010

How to create an editable datagrid for a winform using VB.Net?

This is the same across VS 2005 for .NET platform.





Under the toolbox drag a datagridview to the form, a popup will display, choose the edit setting you want the at the top the drop down walks you thru the datasource wizard where you cn choose SQL or Oracle or whatever datasource you're using.





Use the properties window to refine your style.





You should use the preview data feature in the wizard to see the actual data in design view instead of just at run time.





It's that simple in 2005.

No comments:

Post a Comment