protected void Page_Load(object sender, EventArgs e)
{
try
{
if (!IsPostBack)
{
BindGrid(1, 5);
}
}
catch
{
throw;
}
}
public void BindGrid(int PageNum, int PageSize)
{
XmlDocument xml = null;
Adduserdetails obj_Adduserdetails = new Adduserdetails();
AdduserdetailsList obj_AdduserdetailsList = new AdduserdetailsList();
try
{
obj_Adduserdetails.PageNum = PageNum;
obj_Adduserdetails.PageSize = PageSize;
xml = obj_Adduserdetails_BAL.Get(obj_Adduserdetails, ReturnType.Get);
obj_AdduserdetailsList = _Obj_iDsignBAL.DeserializeFromXml<adduserdetailslist>(xml);
_Obj_iDsignBAL.FillGridView(_Obj_iDsignBAL.ConvertListToDataSet<adduserdetails>(obj_AdduserdetailsList.items).Tables[0], grdGames);
}
catch
{
throw;
}
}
protected void btnNext_Click(object sender, EventArgs e)
{
BindGrid(2, 5);
}