Пример #1
0
 /// <summary>
 /// code to rply
 /// </summary>
 void rply()
 {
     try
     {
         objrply.ContactId = Convert.ToInt32(Request.QueryString["Id"]);
         objrply.Rply      = txtrply.Value;
         int Issuccessfull = InsertionLayer.Rply(objrply);
         if (Issuccessfull == 1)
         {
             lblmsg.Text = "You have Replied To " + txtname.Value;
             clearSection();
         }
         else
         {
             lblmsg.Text = "Technical Error !! Try After Sometime";
         }
     }
     catch (Exception ex)
     {
         lblmsg.Text = ex.Message;
     }
 }