how to place single text box in third row second cell in gridview not for all rows
any one give me answer please?
Place single text box single cell
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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
Suthish NairRank #92 · 22.8K reputationPosted Mar 26, 2011, 11:42 AM EDT
example:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
HyperLink tmplnk1 = new HyperLink();
tmplnk1 = (HyperLink)e.Row.Cells[1].FindControl("hyplnk1");
if (e.Row.DataItemIndex != 3)
{
tmplnk1.Visible = false;
}
tmplnk1 = null;
}
}