Click here to Skip to main content
15,894,343 members
Everything / DataTable

DataTable

DataTable

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Jovan Popovic(MSFT)
Reordering table rows using drag and drop functionality with jQuery DataTables plug-in in ASP.NET MVC applications
by Massimo Fabiano
I know that "returning DataSets from WebServices is the spawn of Satan" but...
by Proneetkumar Pradeep Ray
JQuery Datatable (Dynamic columns) populate after Ajax JSON response via server side processing - Using EF Raw SQL query

Latest Articles

by DiponRoy
The aim of this helper class is to divide a large IEnumerable into multiple small list.
by DiponRoy
The aim of this helper class is to divide a large datatable into multiple small datatables.
by Stefan Vincent Haug
Helper method to apply sorting from DataTables.js parameters in C#
by WyoMetz
Simple and easy paging of a WPF DataGrid with DataTable and LINQ queries

All Articles

Sort by Score

DataTable 

2 Jul 2014 by Chakravarthi Elchuri
Display data in Multi nested gridview using C# in ASP.NET
12 Oct 2016 by SrikantSahu
Jquery Datatable already provides individual column filters. However, we can leverage that to create our custom filter that works similar to Excel filter.
13 Oct 2018 by Stefan Vincent Haug
Helper method to apply sorting from DataTables.js parameters in C#
27 Oct 2010 by Andrew Rissing
Technically, the best approach here for speed and flexibility is to do the following:public class TestClass{ private const string EMP_ID = "EmpId"; public void MyTestMethod() { //GetData fetches data from the database using a SQL query DataTable dt =...
4 Sep 2014 by ASP.NET Community
Here is a simplified class to create Excel file from DataTable just Pass DataTable and Preferred location on server to generate. Call the
17 Nov 2013 by Hazem Torab
Generate reasonable sample data for you GridView without using databases.
3 Oct 2011 by Adam Covitch
It is common to configure back-end database tables to contain a column with an auto-generated ID unique to each row. This tip describes how to sync the ID generated by the database back to the application layer.
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
15 Jun 2011 by leopard447
How to do distinct raw data population in a DataTable
15 Jul 2010 by Paul Brower
This tip will allow you to return the value from column X, where column Y matches your filter
27 Oct 2010 by A.J.Wegierski
int empId = dt.Columns[EMP_ID].Ordinal;...int empId = Convert.ToInt32(dRow[empId]);
4 Oct 2012 by Santhosh Kumar Jayaraman
This is an alternative for "Export DataTable to Excel with Formatting in C#".
26 Feb 2013 by Thakkar Amit
Code for converting the EntityCollection of a DataTable.
3 Jan 2015 by Emiliano Musso
How to save DataGrid column's properties for further re-use
4 Aug 2015 by Abdul Ahad Monty
Convert DataTable to List using Generics.
19 Dec 2013 by Shweta Lodha
Automatic numbering for the primary key column
9 Nov 2017 by yuvalsol
Print DataTable, DataView, DataSet, DataRow[] to Console, StringBuilder or Stream
15 Aug 2015 by IssaharNoam
Simple and customizable Chat Conversation control, with DataTable datasource, inspired by SMS application balloons in OnePlus One Android smartphone.
30 Oct 2011 by DrABELL
ASP.NET GridView control hosting another GridView in data-centric web applications
17 Dec 2014 by Brad Joss
Export a System.Data.DataTable/DataSet into a T-SQL script that when run creates a #TEMP table of the same definition filled with data.
25 Mar 2015 by Ramesh_Joshi
This tip shows how to customize PDF created with the jQuery DataTables plug-in.
29 Oct 2013 by ASP.NET Community
Hi friends..... Many of guys are trying or working on menus for binding it dynamically. i've the solution for ithere , i m putting sample code to
11 Feb 2015 by DrABELL
3 different techniques of adding hyperlinked image to ASP.NET GridView in data-centric RIA
22 Apr 2012 by ashkanpower
How to create Crystal report document dynamically from a list of objects in applications without database
19 May 2019 by DiponRoy
The aim of this helper class is to divide a large datatable into multiple small datatables.
15 Aug 2014 by techcap
DataTable.Select performance test and how to improve it
21 Nov 2017 by OriginalGriff
There is a problem with accessing Excel files via OleDb which contain more than 255 columns: they are truncated and need to be fetched using ranges. But what do you do with DataTables after that?
11 Jun 2016 by Er. Puneet Goel
Now export your table in Excel across all browsers and enable quick filter and paging
18 Sep 2010 by Tajwer Jalal
Data Entry Form made Easy, Enabled / Disabled controls on Data Entry Form
24 Jun 2011 by David C. Williams
When building an ADO.NET DataTable dynamically in your code, each column name must be unique or you get a System.Data.DuplicateNameException. If you don't know at design time that the columns you will be adding are certain to have unique names, you can use this method to avoid a runtime error.
22 Jan 2015 by Emiliano Musso
A quick method to convert a CSV file in XML
19 May 2019 by DiponRoy
The aim of this helper class is to divide a large IEnumerable into multiple small list.
23 Oct 2010 by TweakBird
Accessing Value from System.Data.DataTable
7 Jul 2014 by Vishal.KumarSingh
Export Data from a Entity DataSource / GridView / Datatable in ASP.NET to Excel 2007(.xlsx) format with proper formatting and no warning messages
13 Jul 2016 by Jerry Burch
Quickly create a spreadsheet from Datatable using Interop and the Clipboard