web analytics

Category: ASP.NET

Import Google Contacts –  ASP.NET 2

Import Google Contacts – ASP.NET

How can we download our google address book to some local DB, file etc? One of the coolest things google has provided for developers is the Google Data API for integration of user and...

Cloud Computing – ASP.NET 0

Cloud Computing – ASP.NET

Following are some of pros and cons for Cloud Computing Architecture for ASP.NET: Advantages: Cost cutting More storage for Data. Mobilitiy of Data Easy Disaster Recovery Disadvantages Implementation of session Implementation of authentication Migration...

Multiple Web.Config in Visual Studio 2010 1

Multiple Web.Config in Visual Studio 2010

Previously it was a very difficult job to have configuration files for different application environments, like having config files for devel

Retrieving domain information through ASP.NET 0

Retrieving domain information through ASP.NET

There are many  domain checking websites available that gives all the information regarding domains. WhoIs is one of them. Following is a sample asp.net code that connects to one of WhoIs servers and retrieve...

Date Time string formatting in ASP.NET 1

Date Time string formatting in ASP.NET

With the following code you can format a DateTime within a Databind. <%# DateTime.Parse(Eval("DateModified").ToString()).ToString("MM-dd-yyyy")%> Some more format specifiers that can change format of datetime objects the way it is required. Format specifier Name d...

Easy way to Export dataset in Excel 0

Easy way to Export dataset in Excel

Fastest way to export dataset in excel format is: DataSet dsExport = new DataSet(); System.IO.StringWriter tw = new System.IO.StringWriter(); HTMLTextWriter hw = new HTMLTextWriter(tw); DataGrid dg = new DataGrid(); dg.DataSource = "Dataset to be...

Crystal Report Viewer width – Visual Studio 0

Crystal Report Viewer width – Visual Studio

By default Crystal report viewer width is fixed according to it toolbar, but changes due to amount of data present in the report. And the width is not editable (as it is seen). Because...

MS Charts in Visual Studion 2008 0

MS Charts in Visual Studion 2008

Looking for some good looking and lightweight charting control to be used with VS 2008 applications. I have checked the following article on adding an using MS Charts control in vs 2008. It contains...