web analytics

Tagged: asp.net

ViewBag – ViewData – TempData objects 0

ViewBag – ViewData – TempData objects

Reading Time: 1 minuteAll of them are properties of Controllers and Views, and all of them are used to transport very sm

Import Google Contacts –  ASP.NET 2

Import Google Contacts – ASP.NET

Reading Time: 1 minuteHow 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

Reading Time: 1 minuteFollowing 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...

Retrieving domain information through ASP.NET 0

Retrieving domain information through ASP.NET

Reading Time: 1 minuteThere 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

Reading Time: 1 minuteWith 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

Reading Time: 1 minuteFastest 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

Reading Time: 1 minuteBy 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...

Securing ASP.NET Web applications – Beginner’s article 0

Securing ASP.NET Web applications – Beginner’s article

Reading Time: 1 minuteWant to secure a web application. A very good article relating to ASP.NET web application security hacks, and prevention techniques are defined at a beginner level. A good article for beginners, those who want...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 25

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154

Reading Time: 1 minuteSometimes when working with office Interop assemblies the above mentioned error occurs. I had also got the same when using Microsoft Excel interop assembly and adding its reference in my ASP.NET application.    ...