Friends, I\'m populating a GridView in my asp.net application using following code.
GridView grdExport = new GridView(); DataSet dsRecord = objHelper.gRe
It shows the counts = 0 because by default autogenerated columns is true If you add manual colums then it will shows the column counts. If you write grdExport.AutoGenerateColumns = false; then no columns would rendered in page.
counts = 0
grdExport.AutoGenerateColumns = false