protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
search = Request.QueryString["sr"];
bind();
}
}
public void bind()
{
try
{
obj.voucherno = search;
obj.type = 13;
ds = obj.exe_dataset();
GridView1.DataSource = ds;
GridView1.DataBind();
}
catch (Exception ex)
{
throw ex;
}
}