DataTable allData = new DataTable(); SqlCommand cmd = new SqlCommand("Select * from contactTable", Connection); cmd.CommandType = CommandType.StoredProcedure; Connection.Open(); SqlDataAdapter adapter = new SqlDataAdapter(cmd); adapter.Fill(allData); Connection.Close(); contactTableTableAdapter.Update(allData);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)