Пример #1
0
 /// <summary>
 /// code to reply to the user...
 /// </summary>
 void rply()
 {
     try
     {
         objrply.RplyId = Convert.ToInt32(Request.QueryString["Id"]);
         objrply.Rply   = txtrply.Value;
         int Issucessfull = InsertionLayer.rplyfeedback(objrply);
         if (Issucessfull == 1)
         {
             lblmsg.Text = "You Have Replied To " + txtnme.Value;
             clearSection();
         }
         else
         {
             lblmsg.Text = "Failed... Please try again Later...";
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }