devxlogo

April 18, 2006

How to Display ASP.NET DataGrid Data in Excel

Suppose you have a DataGrid with several columns full of data. The DataGrid contains several pages. You can disable paging and export all the data to Excel using the RenderControl

Great Hackers Make the Worst Developers

ood programmers are what make a software company. Not just good programmers, mind you, they have to be great hackers, rock stars, the best. Great hackers are three times, five

Display Table Information

This script displays all your table names&#151along with their column names, data types, data lengths, and null/not null information in a database. SELECT Sysobjects.name AS TABLE_NAME, syscolumns.Id, syscolumns.name AS COLUMN_NAME,systypes.name