Month: June 2014
MSSQL Selecting top 10 but include columns with duplicate values
SAMPLE RECORDS Query for getting top 10 records based on the company values with duplicate values select…
June 18, 2014
UnitOfWork Generic Repository
The repository and unit of work patterns are intended to create an abstraction layer between the data…
June 14, 2014
Export DataTable to Excel/CSV C#
protected void btnExport_Click(object sender, EventArgs e) { DataTable dtTable = new DataTable(); DataRow dtRow; dtTable.Columns.Add(“SNo”, typeof(int)); dtTable.Columns.Add(“Address”,…
June 6, 2014