Simple grid edition question ?

G

Guest

Dear all,

I have an application which collect information from a database and display
them in a dagrid.
I have apply to the grid a DataView object to get filtered information and
bind the grid to that dataview.

Then if my user click on a <ADD> button I would like to get the grid in an
edition mode and my user can fill up information directly in.

I have set the dataview property, AllowEdit, AllowAdNew and AllowDelete to
true
Then on a button click event I have add the following lines:

Dim dr as DataRow
myDAtaView.AddNew
dr("myColName")= "Some string"

That do not provide anything in grid .

What is the way to place the grid in edition and then allow user to directly
edit inside ?

Any sample or link are welcome

Regards
serge
 

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

Members online

Forum statistics

Threads
474,266
Messages
2,571,074
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top