This is one of the most asked questions by a beginner in the C# devlopment
SqlConnection SqlCon = new SqlConnection(connectionString);
SqlCon.Open();
SqlCommand SqlCmd = new SqlCommand(cmdtxt, SqlCon);
SqlCmd.Dispose();
SqlCon.Close();
This is one of the most asked questions by a beginner in the C# devlopment
SqlConnection SqlCon = new SqlConnection(connectionString);
SqlCon.Open();
SqlCommand SqlCmd = new SqlCommand(cmdtxt, SqlCon);
SqlCmd.Dispose();
SqlCon.Close();