Beispiel #1
0
        public static void UsageSample()
        {
            string    connString = "some connection string";
            DataTable source     = null;

            using (var conn = new SqlConnection(connString))
            {
                conn.Open();
                SqlTableCreator aa = new SqlTableCreator(conn);
                aa.DestinationTableName = "some table name";
                aa.CreateFromDataTable(source);
            }
        }
 public static void UsageSample()
 {
     string connString = "some connection string";
     DataTable source = null;
     using (var conn = new SqlConnection(connString))
     {
         conn.Open();
         SqlTableCreator aa = new SqlTableCreator(conn);
         aa.DestinationTableName = "some table name";
         aa.CreateFromDataTable(source);
     }
 }