Esempio n. 1
0
 public JsonResult LoadGrid(string id)
 {
     try
     {
         clsDataBaseMethodsComments objDB = new clsDataBaseMethodsComments();
         if (id == null || id == "")
         {
             id = "0";
         }
         int intValorId = Convert.ToInt32(id);
         return(Json(objDB.ListComments(intValorId)));
     }
     catch (Exception)
     {
         return(null);
     }
 }