Abhi's den...

The piece of code which nobody cracked...

Browse by Tags

All Tags » ASP.NET (RSS)
Difference between a constant and readonly variables/fields : (constant vs readonly)
Most of us would have encountered these questions What is the difference between constant and readonly fields? When to use constant and when to use readonly fields? What is the advantage/disadvantage of each? Constants In C# you can declare a constant...
Posted: Dec 26 2009, 08:32 PM by cabhilash | with no comments
Filed under: , ,
using LINQ retrieve top N rows
Normally to return top N rows we use an SQL statement similar to the one below Select top N * from table but How can we achieve the same thing in DataTable I have seen many examples, using different methods. Most of the methods centered around the idea...
Viewstate error : 12031
Few days ago I was asked to look into an issue. In our application we have created dynamic grids to show data from database. This ASPX page was Ajax enabled. Moreover all the rows of the grid were in edit mode ie. the normal controls like textbox,dropdowns...
Posted: Oct 13 2009, 12:41 PM by cabhilash | with no comments
Filed under: ,
Add Web service reference- Components required to enumerate web references not installed
After playing with Web services for so many years this was a tricky error which kept me thinking for few minutes. Today when i tried to add WCF reference to my application it gave the following error, Error --------------------------- Microsoft Visual...
More Posts