web analytics

Category: .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...

SqlBulkCopy – Bulk Insertion in SQL Server from .NET 0

SqlBulkCopy – Bulk Insertion in SQL Server from .NET

Many a times there come a scenario when you have to insert large number of records in sql server. There are number of ways to implement this scenario: through looping techniques to call insert...

Crystal report tutorial – VS 2005 0

Crystal report tutorial – VS 2005

A very good book on using Crystal reports in Visual Studio 2005. many small and minute things are discussed in this book. VS2005 Walkthroughs Crystal Reports

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...