I want to ask ,how add label on grid at run time and i want add label value also
so please reply with suitable example.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Vishal GilbileRank #268 · 9.4K reputationPosted Apr 1, 2013, 2:14 AM EDT
You could make use of GridView RowCreated Event for doing this type of work.
Following is the code for the same.
Hope that solves your problem.
With Regards,
Vishal Gilbile.
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 1, 2013, 2:53 AM EDT
hi,
you can use RowDataBound as well as row create event (which is describe by Vishal).
generally RowDataBound event fired when data source is bind with grid view
please refer
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdatabound.aspx
hope this will help you.
ps pandey3 reputationPosted Apr 1, 2013, 2:57 AM EDT
but still i didn't get actual result