Hello please help me out with this connection string
try
{
conn = new SqlConnection("Server=RANJITHM-MOBL\MSSQLSERVER1;DataBase=master;Trusted_Connection=True;");
conn.Open();
SqlCommand cmd = new SqlCommand("dbo.new", conn);
cmd.CommandType = CommandType.StoredProcedure;
rdr = cmd.ExecuteReader();
Console.WriteLine(" connection success");
}
// I hope i have mentioned correct connection string but not able to execute my stored procedure
// please see my images which attached also
Aucun commentaire:
Enregistrer un commentaire