protected void rptParent_ItemCommand(object source, RepeaterCommandEventArgs e) { try { BLL_TRV_QuoteRequest Qr = new BLL_TRV_QuoteRequest(); if (e.CommandName.ToUpper() == "SENDQUOTE") { Qr.SendQuotaion(Convert.ToInt32(e.CommandArgument), Convert.ToInt32(Session["USERID"].ToString())); Qr = null; GetQuotations(); } if (e.CommandName == "DELETEQUOTE") { Qr.DeleteQuotation(Convert.ToInt32(e.CommandArgument), Convert.ToInt32(Session["userid"])); GetQuotations(); } } catch { } }