Esempio n. 1
0
 public static void insert(string text, string textOld, string reference, string survey)
 {
     using (SqlConnection objConnection = Nuce_Common.GetConnectionD())
     {
         if (objConnection == null)
         {
             return;
         }
         try
         {
             //Execute select command
             Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(objConnection, "Nuce_KS_OutputText_insert", text, textOld, reference, survey);
         }
         catch
         {
             return;
         }
     }
     return;
 }
Esempio n. 2
0
 public static DataSet getThongKe2018()
 {
     using (SqlConnection objConnection = Nuce_Common.GetConnectionD())
     {
         if (objConnection == null)
         {
             return(null);
         }
         try
         {
             //Execute select command
             string strSql = string.Format(@"dnn_Nuce_KS_OutputText_GetThongKe_2018");
             return(Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteDataset(objConnection, strSql));
         }
         catch
         {
             return(null);
         }
     }
 }