private DataTable FillBlank(int pageSize, DataTable dt)
{
if (dt.Rows.Count < pageSize)
{
for (int i = dt.Rows.Count - 1; i < pageSize; i++)
{
DataRow dr = dt.NewRow();
dt.Rows.Add(dr);
}
}
return dt;
}
private void BindGrid(DataTable dt)
{
GridView.DataSource = dt;
GridView.DataBind();
}