How can i get rowid or row index of gridview when i click button of particular row of grid (i have used button of grid).
Can any one give me reply with bit detail of function to use in code(I.e whcih event argument to use)
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 attend5days leftRegister
DRISHTY134 reputationPosted May 10, 2010, 1:18 AM EDT
protected void gridview1_RowCommand(object sender, GridviewCommandArguments e)
{
if e.commandbame.equals("thebuttoncommand"))
{
int index = convert.toint32(e.commandargument);
}
}
Lalit MRank #1,186 · 1.5K reputationPosted May 10, 2010, 1:41 AM EDT