Archive for the cateroy ASP.Net

« Older Entries   Newer Entries »

The name <> does not exist in the current context

 I was working on the project, i received the error
 
The name <<xyz>> does not exist in the current context
 
I tried my best to find the core issue, but was unable to locate it.
 
After struggling thru internet, i found the reason behind the issue.
 
 
How Issue Occured ?
 
What i did was, I was in no mood of [...]

ROW_NUMBER is not a recognized function name

I received this error while using ROW_NUMBER function for Paging in my project.
The root cause for the issue is
ROW_NUMBER function is not compatible with SQL 2000.
Though I was working on SQL 2005 but I was getting the same error.
After struggling a lot on the web, I realized that though I was using SQL 2005 interface, [...]

Using Expressions in DataTable DataColumn

Using Expressions in DataTable DataColumn :
Do you know :
How to use expression in datatable datacolumn
  ?
The expression syntax available is used to create customize columns, it is probably much richer than you might think. Expression Property of the DataColumn
Dynamically changing DataTable Column Value using Expressions.
private void CalcColumns()
{
    DataTable table = new DataTable ();
    // Create [...]