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

Name the tools or API for developing or testing web api?

0 Answers  


How do you register the .Net Component or Assembly?

2 Answers   Accenture,


what is wpf and wcf in .net explain with an example?

2 Answers  


How to send a DataReader as a parameter to a remote client ?

0 Answers   Digital GlobalSoft,


They mostly asked difference between versions of technologies

0 Answers   Mphasis,






What is mvc structure? given example? How to show gridview control from business components and using class object arrays?

3 Answers  


How is my content secured from unauthorized access?

0 Answers  


What are the objects of ASP.NET ?

6 Answers  


Differentiate between globalization and localization.

0 Answers  


what is the trace in ASP.NET

4 Answers  


which directive is mandatory in page control

3 Answers   AG Technologies,


What do you mean by caching in asp.net?

0 Answers  


Categories