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 |
I have to send data throug querystring from one page to another. But it should not be displayed in URL. How it is possible?
What r the asp.net list controls and diff. Between them?
About web methods and its various attributes ?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
What is the asp.net mvc folder conventions? : asp.net mvc
Describe a bubbled event and how it is used ?
What?s the difference between Response.Write() andResponse.Output.Write()?
How ASP.NET page works?
What data types do the RangeValidator control support?
What is Virtual path in ASP.Net
what is service contract,operation contract?
Explain diff. Between friend and protected friend?