HELP PLEASE !! DataGrid Questions

E

Enrique Santa Cruz

Hi I've been trying to read the greek-like dictionary help on the
datagrid control with little success in some things and I hope you can
help me:

I have a datagrid populated with a data set with two related tables so I
can see them as master-detail. in the contruction of the data set I
defined readonly cells. So far everything is fine but:

1.- How do I prevent people to add new records but allowing:
a) editing cells
b) deleting child records but no master records

In this forum I read an advice on doing something like that with a
dataview, but it only works with one table

2.- When I press the plus sign at the master record a web like link
appears with the relation name, since I have only one, I would like the
child records to be displayed without clicking a link


thanks in advance
 
M

Marc R.

Hi Enrique,

you will need to use a dataview for the control of edit and add new line
that you bind to your grid


for your point number 2, can't help here.

at lease you get half way there.

Marc R.
 

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