Wednesday, February 16, 2011

NuGet, a helper for installing open source libraries in Visual Studio

NuGet, a helper for installing open source libraries in Visual Studio

Installation:
http://www.nuget.org/

Source code:
http://nuget.codeplex.com/

How to integrate Team foundation server in SQL Server Management Studio?

How to integrate  Team foundation server in SQL Server Management Studio?
Install Team Foundation Server MSSCCI Provider
URL for VS2010:

Tuesday, February 15, 2011

How to export data to Excel/CSV file in ASP.NET

How to export data to Excel/CSV file in ASP.NET 
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Clear();
            Response.Buffer = true;
            Response.ContentType = "application/vnd.ms-excel";
            Response.AddHeader("content-disposition""attachment;filename=Attendees.csv");
            Response.Charset = "";
            Response.Write("Header\r\nContentetc.");
            Response.End();
        }