jayakrishnan Morayur

jayakrishnan Morayur

  • NA
  • 193
  • 258.7k

An exception occurred while executing a Transact-SQL statement or batch.

Mar 8 2011 4:59 AM


SqlCommand

cmd.Connection = SQlCon;


cmd = new SqlCommand();Server server = new Server(new ServerConnection(SQlCon));

server.ConnectionContext.ExecuteScalar(txtPath.Text);

The following error occur on above line

An exception occurred while executing a Transact-SQL statement or batch.

Answers (3)