Why column count is 0 for GridView

前端 未结 5 800
春和景丽
春和景丽 2021-01-28 04:37

Friends, I\'m populating a GridView in my asp.net application using following code.

    GridView grdExport = new GridView();
    DataSet dsRecord = objHelper.gRe         


        
5条回答
  •  礼貌的吻别
    2021-01-28 04:42

    May be it is because you didnt place gridView on page? like this:PlaceHolder1.Controls.Add(grdExport)

提交回复
热议问题