Click here to Skip to main content
15,881,248 members
Everything / ADO.NET

ADO.NET

ADO.NET

Great Reads

by David Rogers Dev
Learn how to load related entities using the Entity Framework with simple examples
by dotnetdan
VS 2005 debug visualizers for DataSet, DataTable, DataView, DataRow and DataColumn objects.
by LarryCharlton
Dynamic data forms.
by Jesús López Méndez
This article introduces you to client side multi-column dynamic pivot, a cleaner, simpler and elegant alternative to the complex and convoluted dynamic server side pivot.

Latest Articles

by Jani Giannoudis
REST API Reporting for .NET
by freedeveloper
How to create a data access class in a way, that is possible to execute unit test on it
by Raphael Adeniji
Many a times, we need to programmatically manage GridView/DataGrid in Visual Studio web applications and this looks very difficult because we do not know what properties or events of the control to use. It may also be as a result of time constraint.
by Oleksandr Viktor (UkrGuru)
Minimally simple UkrGuru.SqlJson package for modern data manipulation

All Articles

Sort by Score

ADO.NET 

18 Jul 2014 by Matthew Givens
How to change databases at run-time in a user-friendly manner.
21 Jan 2013 by Srinivasu Pemma
This tip provides an easy way of dealing with different types of data sources for LINQ Group By taken from my blog http://www.srinetinfo.com/2012/12/linq-group-by.html
11 Jan 2015 by Muhammad Hassan Tariq
Glimpse Extension for server side debugging and diagnostic information of ASP.NET applications
15 Mar 2017 by Ricardo_Torres_Torres
Read text file and insert mutiples records in just one SQL Sentence
16 Jan 2014 by Tom Glick Philadelphia, US
POC to demonstrate passing of collections of complex objects to ASP.NET Web API Controllers.
2 Apr 2015 by Dr Gadgit
Written in C# and VS2010 as a class libary to be used in your own project.
3 Feb 2019 by Thinira
Continuous Integration and Delivery with VSTS (Visual Studio Team Services)
2 Jul 2014 by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
6 Feb 2015 by Daniel Santillanes
Using ServiceStack's ORMLite framework as part of your MVC project's database access
5 Aug 2010 by Vinayaka Krishna Shenoy
Probable leak while using SqlDataReader in ADO.NET
7 Jan 2011 by Tim Corey
Learn how to use a dataset object to load a combobox (or other similar objects) at runtime instead of needing to set anything up at design time.
1 May 2013 by Nasser Malik
Split comma separated IDs to get batch of records through Stored Procedure.
20 Feb 2014 by PallavSingh
Converting data column (contains OLE db image binary Format) to image file (.jpg)
1 Feb 2013 by S. M. Ahasan Habib
.NET TransactionScope and its default Transaction Isolation level issue.
4 Jul 2013 by sumit_kapadia
Create and Bind gridview at client side with Jquery Template and ajax in asp.net
18 Jun 2012 by cjb110
How to identify the cause of the DataSet Constraint Exception
2 Nov 2015 by Guni Van
Mapping your database with C# object class, then make typed-safe query like SQL syntax
8 Jul 2018 by Alen Toma
How to implement ObjectStatus with EntityWorker.Core and JavaScript
24 Dec 2010 by Sunasara Imdadhusen
Creating a DataTable from a DataView - DataView.ToTable()
25 May 2012 by Tauseef M
This tool is used for Encryption of Database in SQL Server 2008 Enterprise Edition
18 Feb 2013 by S. M. Ahasan Habib
I will explain very simple way to execute multiple script files (*.sql) from a directory.
7 Apr 2014 by subhajit bhadury
nKnight - RBAC Solution for C#.NET
2 Jul 2014 by Mattintosh
How to create a formatted column with nothing more than a knowledge of which columns you want and the format you want them in
19 Jan 2015 by Thinira
In this tip, we discuss how to pass report parameters from web page to Telerik report programmatically.
24 Jun 2021 by Oleksandr Viktor (UkrGuru)
Minimally simple UkrGuru.SqlJson package for modern data manipulation
6 Apr 2012 by Chamara Janaka
Article Describes how to Generate a Simple Chart using ASP.NET chart control
25 Sep 2013 by ModMa
Real and fully functional connection Database Provider and DatabaseTraceListener for SQLite!
14 May 2014 by Peter BCKR
In legacy applications you can get a MissingMemberException bei acessing a SqlParameterCollection if you work with object-variables there are reference a SqlCommand-Instance.
19 Jun 2015 by ss9o9o9o
Transferring backup files from a remote SQL Server and Dynamic SQL Connection with Restore utility.
13 Nov 2015 by Najmul Hoda
Here is the code snippet to check how many database connections are opened in SQL Server.
22 Jan 2016 by kaviteshsingh
Simple utility to scan and find duplicate files in a directory.
1 Nov 2017 by Saurav J
Convert table from outlook email body into datatable or list using .NET C# EWS Managed API and HtmlAgilitypack
29 Aug 2011 by Shining Legend
Increase update performance of sqlDataAdapter
26 Mar 2012 by Umesh Khandelwal
Database project diff SQL script utility (using VSDBCMD).
27 Aug 2013 by Måns Tånneryd
This tip shows how to significantly speed up inserts of large amounts of data using the entity framework.
2 Oct 2012 by wkiess01
How to sort a data bound combobox
31 Jul 2012 by HemendraSingh88
Hi, here we will see how to query a DataSet with LINQ(Language Integrated Query).
15 Aug 2012 by DrABELL
Portable solution encapsulated in single SQL query allows to select N rows offsetting M records
27 Nov 2012 by Fenil Desai
Increase ASP.NET Application performance with explicit casting
17 Jan 2013 by Tharaka MTR
This article describes the easiest way to create and process delimited row using SQL XQuery.
5 Aug 2013 by AlbertoLeon CSharpMan
How to search text with LIKE with MySQLParameter in MySQL .NET / Connector
26 Aug 2013 by Måns Tånneryd
This tip shows how to speed up inserts using POCO objects and the entity framework version 5.
29 Nov 2013 by lalitsrana
Demonstrate a simple yet efficient way to upload the data (SqlBulkCopy)
23 Feb 2014 by puja11191
This tip shows how can we generate and save XML files
12 Apr 2014 by Robert Lindblom
Removing entity if it exists
10 May 2015 by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
21 Jul 2017 by Michael Ecklin
SSRS Reports: Show Data from Non-standard Provider
21 Feb 2018 by PIEBALDconsult
A simple way to use ADO.NET to get a list of sheets in an Excel file
11 Jan 2019 by Harshit Gindra
Check and request for Permissions in Xamarin Forms mobile application
17 Apr 2022 by Raphael Adeniji
Many a times, we need to programmatically manage GridView/DataGrid in Visual Studio web applications and this looks very difficult because we do not know what properties or events of the control to use. It may also be as a result of time constraint.
14 Apr 2011 by Sabrina Hope
If you want to be sure that every object is closed, I would use this method: while (true){ Thread.Sleep(2000); using (SqlConnection objConnection = new SqlConnection(@"Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=Northwind;Data Source=.;Max Pool Size=1"))...
26 May 2012 by pramodchand
Using collection of UserControls in WinForm since WinForm does not have a control like DataList server control of WebForm.
15 Oct 2012 by Eric Shandil
How to get dictinct records from a datatable in .NET.
8 Jan 2013 by User 4324523
This tip attempts to solve ProviderManifestToken issue
5 Mar 2013 by Marcio_Coelho
This sample demonstrates how to pass data (variables) from code behind to JavaScript.
7 May 2014 by Ashish Tripathi
Sharp RepoGen is a simple tool to create repository interface having methods for CRUD operation and its implementing class. Using this tool easily you can generate your repositry class and interface. Code is generated with the help of xml template, so very easily you may change the template to creat
23 Oct 2015 by Codeman the Barbarian
In the tip, I go through one approach to integrating SQL Server's FILESTREAM type with Nhibernate.
12 Nov 2015 by Eduardo Yost
Creating a Web User Control containing an AutoCompleteExtender for data through WCF (JSON) allowing to store the entity selected through EntityFramework. Entity object serialization from the server to the client and the client to the server.
14 Jun 2020 by DiponRoy
Upgrade a legacy ASP.NET project to use managed Oracle.ManagedDataAccess.Client instead of unmanaged Oracle.DataAccess.Client while using Entity Framework DB first or EDMX.
20 Nov 2015 by Lộc Nguyễn
With a DEMO WPF application (WinNotif)
27 Mar 2012 by M.AFTAB.ALAM
Using MigraDoc as an open source .NET library to export a DataTable to PDF.
10 Oct 2015 by ChienVH
Perfect Pagination with Repeater Control in ASP.NET C#
29 Oct 2012 by Hernán Hegykozi
Show you how to make a connection dialog developed completely from scratch.
4 Aug 2017 by Sharp Ninja
Threading can be a daunting topic. This library takes much of the worry (and mistakes) out of multi-threaded application programming.
8 Jun 2016 by David Lee 145
How to make dynamic DTO with ExpandoObject
15 Jan 2013 by Yugal Pandya
Database driven N-Level Dynamic Menu Control using C#.NET and SQL Server with stylesheet CSS
25 Feb 2014 by JatinKhimani
Nested GridView With Editing Facility of both gridview.
14 Mar 2014 by Robert Lindblom
Detecting concurrency issues when using Entity Framework model first and SQL Server
2 Apr 2014 by Kinyanjui Kamau
I have written this tip to help developers automatically set Crystal Report parameters from variables in code (WinForms) at report run time.
7 Jan 2012 by Brady Kelly
On problems that arise tying to add a null valued SqlParameter using the SqlParameterCollection.AddWithValue method.
25 Jul 2011 by walterhevedeich
A quick tip on using OledbCommand and OdbcCommand
30 May 2012 by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
27 Jun 2012 by Brady Kelly
A quick and easy way to ensure that your Code First DB Initializer is always run when your app starts, not just on the first data access operation
4 Nov 2013 by Jaume González
How to convert any datareader into generic list.
16 Nov 2015 by User 10668410
How to get SQLite 1.0.98.1 working with Entity Framework 6.1.3 without a massive headache using the Database First Model and Code First Model.
8 Jun 2015 by Diluka Wittahachchige
Creating SQL Server database project use in Visual Studio 2012 and maintain versions use in TFS
19 Mar 2017 by Yaseer Arafat
Using Extension Method and JSON Serializer
24 Feb 2014 by JatinKhimani
Export Gridview data in Excel formate with gridview design.
2 Dec 2012 by Bikash Karmokar
Connecting Windows Form Application With ADO.NET in C#
16 Feb 2018 by Len van den berg
GMaps Control Simplified in VB.NET
11 Oct 2012 by markmnl
Method to clone an EntityObject without serilization or detaching it
29 Mar 2013 by Nandakishore G N
Example For Gridview RowCommand Event
18 Jan 2013 by Nandakishore G N
I'll Try To Explain Some Methods of Datatables.
15 Oct 2013 by Alireza C
This code helps you to grab ConnectionString from App.config.
4 May 2012 by Subha.N
Tip to create a database application using C# .NET in the shortest time possible.
3 Oct 2015 by shijo joseph
A simple and fast CSV reader which you can directly use against Oracle and SQL Server databases or for any direct implementation
15 Apr 2014 by Kirill__
How to create databese with forst 3 normal forms of relationship
31 Oct 2014 by ShaikAnwar
This topic gives us an idea of how to write Linq queries on Entities & DataTable. This covers some basic querying and also usage of joins and group by using LINQ.
20 Sep 2012 by Ravindra T C
A look into the five different overloads of the DataAdapter.Fill() method.
2 Aug 2013 by AlbertoLeon CSharpMan
Insert Ignore with select thousands of rows threw timeout expired exception
9 Dec 2015 by Roger C Moore
This tip is a guide for using the Codeplex project Effort for testing Entity Framework applications without requiring the unit tests to actually hit the SQL Server database.