gridview
how to pass multiple row value from gridview from 1 form to another from in c#.(desktop application)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
bagzliPosted Sep 15, 2012, 3:15 PM
so....
for(int i=0; i
//copy data - also it is either.size or .length, I don't have my editor near hand to check that.
}
Well this is how I would go about it, not sure if it is the best way.
Hope this helps.
Regards,
Sukesh MarlaPosted Sep 15, 2012, 1:57 PM
Like
take a perticular column and put it in a textbox.
Check this is correct answer if it helped..
vikas kananiPosted Sep 15, 2012, 1:25 PM
Sukesh MarlaPosted Sep 15, 2012, 11:11 AM
Hope it helped you , if yes check answer as correct answer.
vikas kananiPosted Sep 15, 2012, 4:30 AM
Sukesh MarlaPosted Sep 14, 2012, 1:39 PM
now loop thorugh datatable and make a list of all required rows, Call it LISTX
Now Create Form2 create Property called MyList;
in Form 1
Form2 f=new Form2();
f.MyLisy=ListX;
f.showDialog();
Check this is correct answer if it helped.
Satyapriya NayakPosted Sep 14, 2012, 12:19 PM
Please refer the below link
http://www.dotnetcurry.com/ShowArticle.aspx?ID=147
Thanks