i use linq and want to send several parameters to another page,
and use it as "where cluse" how do i can?
Loading
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.
Mamta MPosted Sep 17, 2010, 3:07 AM
For example, in the first form, write
Form2 frm2 = new Form2(p1, p2, p3);
frm2.Show();
...
In Form2, write the constructor as follows: (you can replace string with any other data type you want, I m using string as an example)
public Form2(string p1, string p2, string p3)
{
...
}