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 |
How to Separate background image and front image from original picture....
0 Answers Sans Pareil IT Services,
How to deploy/publish webservices?How many ways?Plz explain me
What are the different Key TreeView Properties in Asp.net 2.0?
Can we throw exception from catch block ?
4 Answers Accenture, BirlaSoft,
Is overloading possible in web services?
what is the use of asp.net
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
How do you register the .Net Component or Assembly?
In SP has contains 10 query,By Using Dataset Object I need to fetch 8th query of records? How?
Tell something about state management in asp.net?
Can we change the page layout in ASP.NET 2.0 as Grid Layout like in previous version
How do cookies work? Give an example of their abuse.
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)