i am working on the gridview, the problem, it that when i am executing the form containing the gridview, the problem is that it is not showing the gridview in the webpage.
even though i have set the visible property true in the properties, it is not working.plz help me
thanks a lot
mshravs 0 Junior Poster in Training
Recommended Answers
Jump to PostCheck whether the data source (such as DataTable, DataSet) bound to the GridView has records by putting a break point.
If DataTable has no records, then the GridView does not render anything.
Jump to PostUse footer row to add a new record
Jump to PostFirst check if you have marked auto generated columns true or not then see whether u have written
Gridview.Databind() or notone of these may solve your problem dude
:-)i am working on the gridview, the problem, it that when i am executing the form containing the gridview, …
Jump to PostEnter "No records found" in datagridviews property EmptyDataText if storeprocedure didnt return anything and gridview is binding properly.
otherwise post your code to help you more
Jump to Postif u want to add rows to datatable at runtime try this
Dim dataRow As Data.DataRow = datatable.NewRow() dataRow .Item("TableID") = 0 datatable.Rows.Add(dataRow )
All 17 Replies
Ramesh S 129 Posting Pro
mshravs 0 Junior Poster in Training
Ramesh S 129 Posting Pro
vicky_rawat 11 Junior Poster
mshravs 0 Junior Poster in Training
Sals 0 Light Poster
mshravs 0 Junior Poster in Training
Ramesh S 129 Posting Pro
Ramesh S 129 Posting Pro
mshravs 0 Junior Poster in Training
fawadkhalil 0 Junior Poster in Training
mshravs 0 Junior Poster in Training
fawadkhalil 0 Junior Poster in Training
mshravs 0 Junior Poster in Training
mshravs 0 Junior Poster in Training
Ramesh S 129 Posting Pro
mshravs 0 Junior Poster in Training
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.