Author: admin

  • Blog
  • Author: admin

Formating date in asp.net1.1 datagrid.

Some time we need to display the dates in data grid. And we have to format it as per the requirement.here is the way to format link in the data grid.First Select data grid and open property window by pressing f4. Then go to the.Click on the property builder then click the columns and select

What is Inversion of control and why we need it?

Most of programmer need inversion of control pattern in today’s complex real time application world. So I have decided to write a blog post about it. This blog post will explain what is Inversion of control and why we need it. We are going to take a real world example so it would be better

C# 4.0-Dynamic Data Type, Difference between var and dynamic

C# 4.0 introduces a new keyword called ‘Dynamic‘. It can consume any object anything. Let’s see some examples for that. dynamic intExample = 1;Response.Write(intExample);dynamic floatExample = 2.5;Response.Write(floatExample);dynamic stringExample = “DotNetJaps”;Response.Write(stringExample); It will print out put on web page as following. Now, you will have question what’s new in that. It could be also done with

Regular Expression Library

Regular expression is hottest technology nowdays. It saves lots of time of development. In asp.net we can use regular expression in regular expression as regular expression validation control. I have found the very good resource of ready made regular expression. Here is the link for that. http://regexlib.com/Default.aspx The RegExLib.com, the Internet’s first Regular Expression Library.