Question about using DataGrid in VB.Net

L

LLJ

Hi list,

I am using DataGrid control in my first VB.Net project. How can i use
DataGrid to do:

1. only show data from the database when user run the application at
beginning, which means user can't make any changes to the existing
data, and can't add new rows.

2. when user click on the "Insert" button, the datagrid will allow user
to add new rows, but can't edit the exiting rows.

3. when user click on "Update" button all the rows will be editable.

thanks for any help.
 
R

Richard Dudley

Those are three tall orders, which take some pretty good chunks of code.
You would get a lot of help from Scott Mitchell's "ASP.NET Data Web Controls
Kickstart" (I use this as a reference a lot). These topics are also covered
in numerous on-line articles, so try a search engine as well.
 
L

LLJ

I am working on Windows Form not Web Form. Do you know any good
reference books for Windows Form controls uing?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top