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 is a web server? What are the load limits in it?

0 Answers   Wipro,


hi wrever i go thy r asking depth abt 3-tier architecture i.e, hw to deploy 3 layers into 3 servers i do nt have much idea on deployment. can any one send me the tips or code if u hav kindly mail me.

1 Answers   Wipro,


What is scope of an application variable in asp.net?

0 Answers  


What is the use of HttpHandlers? When to use this?

0 Answers   Wipro,


Is it possible for me to change my aspx file extension to some other name?

0 Answers  






What is a 1x1 pixel?

0 Answers  


What is difference b/w Generic List and Arraylist, Generic List Vs HashTable, Generic List Vs No Generic? Pls Explain with example.

2 Answers   Polaris, Syntel,


What are different transaction options?

2 Answers   Astadia,


When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database.

6 Answers   Syntax Softtech,


How do you implement postback with a text box? What is postback and usestate?

1 Answers  


Which method has beenintroduced in asp.net 4.0 to redirect a page permanently?

0 Answers  


web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.

2 Answers   TCS,


Categories