Exemplo n.º 1
0
 public int InsereDados(string sql)
 {
     try
     {
         ds = new DataSet();
         cs = new ClasseConexao();
         return(cs.executa_IncAltExcParametros(new SqlCommand(sql)));
     }
     catch
     {
         return(0);
     }
 }