-
Recent Posts
Categories
Meta
Tag Archives: oledb
Loading Data into a DataReader and Looping Through Records OLEDB / C#
Just a quick example of loading data into a data reader using C#. My data source is MS SQL Server in this case, although you would just need the correct OLEDB connection string to use any other data source. Couple … Continue reading
Parametrised SQL Server Stored Proc From ASP.net / C# / OLEDB
Lets assume that we have a stored procedure that is defined in the following way, it doesn’t really matter what the actual body of the SQL is: We want to be able to call this procedure from an ASP.net page … Continue reading
Posted in Programming
Tagged asp.net, c sharp, c#, oledb, parameters, programming, sql, sql server, stored procedure, tsql
Leave a comment
Populating Windows Forms ComboBox from SQL Server using OLEDB and DataTable
For the database connection, and populating the DataTable see my post: Populating ASP.net DropDownList from SQL Server using OLEDB and DataTable Hopefully you have now connected to your database and populated your DataTable. Now all we need to do is … Continue reading
Posted in Programming
Tagged c sharp, c#, combobox, datatable, oledb, sql, sql server, windows forms
Leave a comment
Populating ASP.net DropDownList from SQL Server using OLEDB and DataTable
Firstly we need to ensure that we have referenced System.Data.OleDb in order to connect to the Database. Now the database connection: NB: for connection string help / information this is a great resource http://www.connectionstrings.com/ Now we have our open database … Continue reading
Posted in Programming
Tagged asp.net, c sharp, c#, datatable, dropdownlist, oledb, programming, sql, sql server
Leave a comment