Quantcast
Channel: ASP.NET – TechnoBlogy
Browsing latest articles
Browse All 20 View Live

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 of this reason...

View Article


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

View Article


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

View Article

Add meta data dynamically

Add meta-data dynamically to your page by adding a HtmlMeta control to your Header. In this example I dynamically add a keyword string to the page. string keyWords = “metatags, html, dynamic,...

View Article

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

View Article


Image may be NSFW.
Clik here to view.

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 development and production environments. One had to manually...

View Article

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

View Article

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

View Article


ViewBag – ViewData – TempData objects

All of them are properties of Controllers and Views, and all of them are used to transport very small amount of data between pages. ViewData: It is of dictionary type, used to store key/value pairs and...

View Article


Image may be NSFW.
Clik here to view.

Introduction to .NET Core

Microsoft began development of the .NET Framework in the late 1990s as Next Generation Windows Services, with version 1.0 officially released in February 2002. It is licensed under Microsoft’s...

View Article
Browsing latest articles
Browse All 20 View Live