hello how r u guys?
My question is,
I m retrieving data from database and I want it in header of Gridview, Means if I retrieve 4 rows from database then I want these rows in header.
please reply soon
Thanks.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Sandeep ShekhawatRank #2,439 · 577 reputationPosted Jul 1, 2011, 3:00 AM EDT
GridView
If u customize according to u use repeater control (i am only suggest)
Faisal AnsariRank #3,366 · 427 reputationPosted Jul 1, 2011, 3:07 AM EDT
and thanks for correcting my english as well :)
Faisal AnsariRank #3,366 · 427 reputationPosted Jul 1, 2011, 3:08 AM EDT
Sandeep ShekhawatRank #2,439 · 577 reputationPosted Jul 1, 2011, 3:23 AM EDT
http://www.c-sharpcorner.com/UploadFile/puranindia/RepeaterControls09292009020621AM/RepeaterControls.aspx
in this article u customize header template according u as Itemtemplate.
Suthish NairRank #92 · 22.8K reputationPosted Jul 1, 2011, 4:32 AM EDT
Faisal AnsariRank #3,366 · 427 reputationPosted Jul 1, 2011, 6:09 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Jul 1, 2011, 10:02 AM EDT
Yes you can using HeaderTemplate under TemplateField.
I just show you an example of how its work.
Try to build your logic depend on that and let us know.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts