Top "Sqlclient" questions

Microsoft ADO.

How to use SqlClient in ASP.NET Core?

I am trying to use SQLClient library in the ASP.net Core but cant seem to get it working. I …

c# asp.net-mvc asp.net-core sqlclient .net-core
How to display database records in asp.net mvc view

Using ASP.NET MVC with C#, how do you pass some database records to a View and display them in …

c# asp.net-mvc sqldatareader sqlclient
Exception: type initializer for 'system.data.sqlclient.sqlconnection'?

I couldn't figure out what is the problem for this exception. The type initializer for 'System.Data.SqlClient.SqlConnection' threw …

c# linq wcf exception sqlclient
C# Update Table using SqlCommand.Parameters

I'm trying to update an MSSQL table using SqlCommand, I think it's a syntax error with my T-SQL, but here …

c# sql sqlcommand sqlclient
Unable to locate System.Data.SqlClient reference

I have a fresh Visual Studio 2017 Professional install. I'm building a quick POC Console application using .NET 4.7.1, and I'm unable …

c# sqlclient
How do I prevent a timeout error when executing a store procedure using a SqlCommand?

I have a C# program which runs a stored procedure. If I run the stored procedure from Microsoft sql server …

c# .net sql-server sqlclient
Array of Sized/Typed SqlParameters

I'm trying to create an array of dbTyped and sized SqlParameters. This works fine but results in changing code both …

c# .net sqlclient
Populate checkboxlist with items from database?

Ok, so I want to populate/bind some data to a checkboxlist but cannot seem to binf the right values? …

c# checkboxlist mdf sqlclient
Dataset column name and row value

I have a data set: DataSet ds= _ExecuteQuery(contentCmd, CommandType.Text, contentParams); // Column name foreach (DataColumn column in ds.Tables[0].…

c# dataset sqlclient