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

How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


can we pass coditions in swtich case?

3 Answers  


What event fired during, when datagrid click?

1 Answers  


How can you send an email message from an asp.net web page?

0 Answers  


Types of session management in ASP.NET?

1 Answers   Microsoft,






Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

0 Answers  


How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?

0 Answers   HCL,


what is publisher?

0 Answers   Microsoft,


Explain the difference between asp & asp.net.

0 Answers  


What is custom control. What is the difference between custom control and user control?

2 Answers   Microsoft,


code for inserting images into gridview colomns from database

3 Answers   HP,


What is the difference between session and viewstate in asp.net?

0 Answers  


Categories