Dategrid filtering and sorting
How can we sort all the fields at once?

Answers were Sorted based on User's Feedback



Dategrid filtering and sorting How can we sort all the fields at once? ..

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

Dategrid filtering and sorting How can we sort all the fields at once? ..

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

Dategrid filtering and sorting How can we sort all the fields at once? ..

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

Post New Answer

More ASP.NET Interview Questions

• What are HttpHandlers? • What are HttpModules?

2 Answers  


What are the different properties of server control that exists?

0 Answers   Cap Gemini,


What is the difference between sealed vs static class?

0 Answers  


What is the use of execute non query in asp.net?

0 Answers  


How can we apply themes to an asp.net application?

0 Answers  






How many types of Cookies are available in ASP.NET?

0 Answers   MindCracker,


What is asp.net response object?

0 Answers  


How to store a dataset in a viewstate?

3 Answers   Patni,


What does this do? gacutil /l | find /i about

1 Answers  


What is odata in web api?

0 Answers  


What would be salary for 6+ years of experience in ASP.NET in different metro city in india?

4 Answers  


What are web beacons used for?

0 Answers  


Categories