Import/Export E worksheet using ADO.Net
Excel is very known format for storing small amount of data. So you may want your data residing in ms sql or oracle or any other data source do be exported because of any of the following reason:
- Running calculation to derive the wanted information
- Doing some statistical computation like MEAN, MEDIAN, MODE
- Generating Graphical report
- Making use of PivotTable and PivotChart
Apart from above listed one there exists also lots of other reasons to export data in excel format. Similarily we can use excel to do bulk import of data and put it into sql server database. It is very easy and faster to do data entry in excel sheet and then import those data to rdbms system.
Export to Excel from SQL Server:
There are may ways we can read data from sql server and export to excel sheet like using third party controls, binding data to some data controls and then exporting using "GridView.RenderControl()" method.
But here I am going to show how to export from sql server to ms excel using ado.net.
1. Create an asp.net website project named "ExcelExportImport" and 2 folders to it "DownloadFiles" and "UploadFiles".
2. Download AdventureWorksLT2008 database and attach ot your sql server database. More...
Agile development is now widely accepted and there are more companies and people who have started following this development methodology.
The most wisely used agile process is "Scrum". In scrum work is divided into short cycles called "Sprint". Typically the sprint duration is 2-4 weeks but it can be as short as one week and as long as one month.
The whole scrum is composed of 3 roles, 3 activities and 3 artifacts.
Given below is a scrum cheat sheet which consists of all major terms and short definitions. This sheet can be used as quick refresher or pocket reference.More...
SQL Server 2008 R2 - Free Book from Microsoft
If you are a sql server developer and wanted to have some free ebook on sql server 2008.
Here is the link I found while looking for the same. There is a free ebook download available on microsoft site for "SQL Server 2008 R2" edition.
This online book is the primary documentation for SQL Server.
Books Online includes the following types of information:
Setup and upgrade instructions.
Information about new features and backward compatibility.
Conceptual descriptions of the technologies and features in SQL Server.
Procedural topics describing how to use the various features in SQL Server.
Tutorials that guide you through common tasks.