protected void btndisapprove_Click(object sender, EventArgs e) { string value = getString(); _FacultyMaster _obj = new _FacultyMaster(); if (value == "0") { _obj.Name = value; } else { _obj.Name = value; } _obj.Reject(); btnGet_Click(null, null); }