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 |
How can you debug your.net application?
Explain about solution explorer window?
Difference between application and session ?
In a webpage if i want to give access to only half page ,then what should i do?
Define dll hell?
What is wrong with a line like this? DateTime.Parse(myString)
What is Master Page in Asp.net?
What is a postback ispostback and autopostback in asp net?
3. What goals do you have in your career?
What are the various ways of securing a web site that could prevent from hacking etc ?
What is a WebService and what is the underlying protocol used in it? Namespace?
What is application and session in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)