-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: yogesh303
Message 2 in Discussion
Hi one way to solove your problem is put datagrid of same name on each form where u
want functinality of move first move next . on Datagrid's CurrentCellChanged event
assign value to textbox or combobox etc on u r respective form then from MDI
toolbar button click event just change CurrentRowIndex of activeform datagrid . To
Acess Current form Datagrid controll you can use some this like this // For
movenext you can wite
Form obj1=(Form)this.ActiveMdiChild;
foreach(Control C in obj1.Controls ){
if (C.Name=="dataGrid1"){
DataGrid D=(DataGrid)C;
D.CurrentRowIndex=D.CurrentRowIndex+1;
}
}
with Regards
Yogesh B
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]