i have a gridview . i am asking that i would select a specific cell in a specific row.

i am using the underlying method but its not working please help.

protected void GridView1_RowUpdated(object sender, GridViewUpdatedEventArgs e)
    {
        String PrjName = GridView1.SelectedRow.Cells[6].Text;


            Message.Text = "value is" + PrjName;

        }

please help if anybody knows.

Your code will only execute if a RowUpdated event is triggered.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.