Sort Expression == (string)View State["sort Expression"] ? "DESC" : "ASC") : "ASC"; //View State["sort Expression"] = e. Hi, I have a datagrid that I have created via code rather than drag and drop but can't get the Paging to work. this come when i try to go next record one how to solve this ......
Raise Post Back Event(String event Argument) 190 System.
The purpose of the databind() method of the gridview in this event is to "re-update" the datasource of the grid. Hi Monko, I just took a quick look at your code and I can noticed the following: - You assigned the grid View data Source and call the method data Bind() twice try the following and if you have any problem tell me and I will run your code: hi, Please create one function named bind Grid() and put your code in that,in the following manner.
Data Bind() End Sub You write these two lines of codes inside this event.
Please review the stack trace for more information about the error and where it originated in the code. The Grid View ' Grid View1' fired event Sorting which wasn't handled. I want to sort each column when click to the column head. I refresh the datagrid after the insertion so the user can see. The Grid View 'gg7' fired event Page Index Changing which wasn't handled.
The Grid View 'x' fired event Row Deleting which wasn't handled... I have a button that inserts a new employee record in the northwind db using LINQ.Please review the stack trace for more information about the error and where it originated in the code. Source Error: An unhandled exception was generated during the execution of the current web request.