Category: My Blog

  • Blog
  • Category: My Blog

Expression builder in ASP.NET 2.0

ASP.NET introduced new declarative expression syntax which allows you to substitute values into page at run time called Expression builders.There are five type of expression builder in asp.netAppSettingsExpressionBuilderConnectionStringsExpressionBuilderResourceExpressionBuilderAppSettingsExpressionBuilderConnectionStringsExpressionBuilderI have found a great article that describes the this expression builder in details.here is the link.. http://www.beansoftware.com/ASP.NET-Tutorials/Expression-Builder.aspx

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