Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
public class MyGridView : GridView
{
private int id;
public void SetId(int id)
{
this.id = id;
}
}
MyGridView grid = new MyGridView();
grid.SetId(int.Parse(Request.QueryString["Id"]));
//or
grid.SetId(1);
//or
grid.SetId(From.SomewhereElse());