private void AddSchemeOnRollback(int orderid) { InvoiceData invoiceData = new InvoiceData(); bool result = false; result = invoiceData.AddSchemeOnRollback(orderid); if (result) { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Scheme rollback successfully..!!')", true); bindList(); } else { ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Scheme not rolledback..!!')", true); bindList(); } }