M
m - team1 via DotNetMonster.com
hi everyone
ive written a huge unwieldy program for my company's annual maintenance
contract tracking! ok, my dataset has two relations : one table is called
AMC and is linked to AMC1. AMC1 in turn, is the parent table of AMC2. my
datagrid shows information only from AMC 1 and 2.
this is my problem:
when the user collapses a row in the datagrid, i need to know the exact row
index in the parent table so that i can see if the user can be permitted to
add a child row or not. (depends on the value of a particular column)
at the 11th hour ive discovered that datagrid.currentrowindex() just sets
arbit values - as in the row index is fine with respect to the datagrid - row
zero IS row zero. but currentrowindex doesnt tell me that the first row in
the datagrid is actually the 11th row, which is the critical information i
need!
im in dire straits - can someone please tell me how to get that information?
ive looked up most of the datagrid properties but i cant spot anything that
would help!
thanks!
ive written a huge unwieldy program for my company's annual maintenance
contract tracking! ok, my dataset has two relations : one table is called
AMC and is linked to AMC1. AMC1 in turn, is the parent table of AMC2. my
datagrid shows information only from AMC 1 and 2.
this is my problem:
when the user collapses a row in the datagrid, i need to know the exact row
index in the parent table so that i can see if the user can be permitted to
add a child row or not. (depends on the value of a particular column)
at the 11th hour ive discovered that datagrid.currentrowindex() just sets
arbit values - as in the row index is fine with respect to the datagrid - row
zero IS row zero. but currentrowindex doesnt tell me that the first row in
the datagrid is actually the 11th row, which is the critical information i
need!
im in dire straits - can someone please tell me how to get that information?
ive looked up most of the datagrid properties but i cant spot anything that
would help!
thanks!