How to Filter gridview?
-
Hi. From Database i m getting data in this format. CAC PAT A 12/03/07 CAC PAT A 12/04/07 CAC PAT A 12/05/07 CMP CAT B 11/03/07 CMP CAT B 11/06/07 CMP CAT B 11/08/07 CPL AMT C 10/01/07 CPL AMT C 10/04/07 CPL AMT C 10/06/07 I want to display like that CAC PAT A 12/03/07 12/04/07 12/05/07 CMP CAT B 11/03/07 11/06/07 11/08/07 CPL AMT C 10/01/07 10/04/07 10/06/07 How to do ? Help me Thanks
-
Hi. From Database i m getting data in this format. CAC PAT A 12/03/07 CAC PAT A 12/04/07 CAC PAT A 12/05/07 CMP CAT B 11/03/07 CMP CAT B 11/06/07 CMP CAT B 11/08/07 CPL AMT C 10/01/07 CPL AMT C 10/04/07 CPL AMT C 10/06/07 I want to display like that CAC PAT A 12/03/07 12/04/07 12/05/07 CMP CAT B 11/03/07 11/06/07 11/08/07 CPL AMT C 10/01/07 10/04/07 10/06/07 How to do ? Help me Thanks
Gridview is probably the wrong control for this. A repeater is your best bet where you want more fine grained control over what is rendered, the downside being that you lose all the stuff built into the gridview.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Gridview is probably the wrong control for this. A repeater is your best bet where you want more fine grained control over what is rendered, the downside being that you lose all the stuff built into the gridview.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
hi thanks for reply. but i m doing modification also. so want that functionality using gridview only. plz explain it thanks
Then you've got issues. You can perhaps trick the grid view by defining columns that include table elements, but it's going to be nasty, you're opting to declare war on the control, to fight what it wants to display, and make it do something different.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )