I don't know what would be a good title for this, so let me explain.
I have a web form that has one button and one textbox, this form is for searching through my database record. What I want is that if I click the button, i want the result to show from other form.
I know how to do this in the form itself.
SqlDataAdapter da = new SqlDataAdapter("select * from Persons where LastName LIKE '"+textBox1.Text+"'", con);
DataSet ds = new DataSet();
da.Fill(ds);
gridview.DataSource = ds;gridview.DataBind()
How could I do this? The result(gridview) will show in the other web form.
...
Go to the complete details ...