Dategrid filtering and sorting
How can we sort all the fields at once?
Answers were Sorted based on User's Feedback
Answer / ish
By putting the dataset value in dataview and sort that
dataview According the field and for filtering we can use
rowfilter option with dataview . after that we can bind
that dataview value with datagrid.
we can also use sortexpression in datagrid propertybuilder.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / pritam
first write one sql query and there include "order by (the
column header of the datagrid what you have used").
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / srividhya.s
Undoubtedly u need to write a sql query for this with the
order by (or) sort by.
And also call the subroutine that fills the datagrid after
each insert or delete so that u can see the changes at the
runtime with the new alignment(i mean sorting)...
Is This Answer Correct ? | 1 Yes | 0 No |
What is Web Server Control Templates.?
Difference between abstract class and interface
What are server objects?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
Contrast the use of an abstract base class against an interface?
What is cas?
What is ascx?
Why mvc is faster than asp.net? : Asp.Net MVC
How do pass data from one layer to another layer in N-tier architecture?
What is the exact purpose of http handlers?
Name the tools or API for developing or testing web api?
What is an application domain ?