protected void GriView1OnRowCommand(object sender, GridviewRowEventargs )
{
if(e.CommandName=="Edit")
{
int custid = Convert.toInt32(e.CommandArgument);
hdnCustID.value = "" + custid;
}
}
protected void btnUpdate_Click(object sender,EventArgs e)
{
UpdateStatus(hdnCustID.value,"Approve");
}
protected void btnCancel_Click(object sender,EventArgs e)
{
UpdateStatus(hdnCustID.value,"Reject");
}