SqlConnection myConn = new SqlConnection("Data Source=localhost\\SQLEXPRESS;Initial Catalog=CarDB;Integrated Security=True;database=CarDB"); string str = "create table #temp1 (col1 int, col2 int);"; // Code to do a dataset to insert some records. SqlCommand myCommand = new SqlCommand(str, myConn); myConn.Open(); myCommand.ExecuteNonQuery(); myCommand.CommandText = "drop table #temp1;"; myCommand.ExecuteNonQuery();
|Unable to upgrade to .Net 4.6.2 on Server 2012r2||2||43|
|VB.Net How to Exit Sub - Exit Form???||5||51|
|Facial recognition to look through the whole database for a person||3||43|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
14 Experts available now in Live!