Hide a gridView row in asp.net

后端 未结 13 897
说谎
说谎 2021-01-14 21:22

I am creating a gridView that allows adding new rows by adding the controls necessary for the insert into the FooterTemplate, but when the Ob

13条回答
  •  我在风中等你
    2021-01-14 22:12

    Please try the following

        protected void GridView1_DataBound(object sender, EventArgs e)
        {
            GridView1.Rows[0].Visible = false;
        }
    

提交回复
热议问题