Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Gridview
Hello all, I am a very new programmer especially to ASP.NET and C#.
I have a Gridview that shows the data as expected, using controls for columns etc and code behind to access a stored procedure to get the data.

I have sorting applied to the headers

and the ability to go 'Edit Mode' via the edit link.

I now would like to get some advice on adding text box filtering above each column header and still be able to go into edit mode on any of the filtered rows.

I see lots of subjects similar, but all seem to use the SQLDatasource control to which i dont use.

any advice would be greatly appreciated
Posted 24-Jan-13 0:32am
MoiD101123
Edited 24-Jan-13 5:57am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Refer below article,
 
Gridview Header Filter[^]
  Permalink  
Comments
MoiD101 at 24-Jan-13 10:02am
   
mmm thanks S, but i had already looked at that but it uses the header which i already have onclick sort on. I was after some text boxes above the headers where i can type the text into it and it only shows those rows (and are still editalbe).
I am a very inexperienced programmer so i struggle at best and i am not quite experienced enough to program a solution by myself

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 277
1 Maciej Los 210
2 BillWoodruff 205
3 Jochen Arndt 180
4 DamithSL 165
0 OriginalGriff 5,130
1 DamithSL 4,157
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100