Wednesday, August 18, 2010

How to create a table in visual basic 2005?

Is there a way to make a table without binding to the outside source like SQL, MS Access..?





Just in Visual Basic Program itself, possibly using a txt file.





if there's a way to add and remove a row in datagrid,


I can do the other things...





so..


is there a way??How to create a table in visual basic 2005?
You can make a disconnected dataset - use ADO. You can connect a datagrid to the dataset. You can add and delete rows with SQL.





But remember, it goes away when the program is closed. And you don't want to save an ADO dataset to a .txt file - even if it's a text file, call it something that won't open on anyone's computer. Opening it in Notepad, then saving it, will destroy your dataset.How to create a table in visual basic 2005?
simplest, just 'insert table'.

No comments:

Post a Comment