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 are the Difference between asp.net and asp ?
What is the sequence in which ASP.NET events are processed?
How do you manage session in ASP and ASP.NET?
What is ASLM?
Explain the basic functionality of garbage collector?
Distinguish between Server-side and Client-side code?
What is the used of "ispostback" property?
What is different between webconfig.xml & Machineconfig.xml ?
What are the differences between clr & cts?
Explain the significance of routing? : asp.net mvc
what is the auto option in XML ?
what exception is thrown when you do a response.redirect
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)