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 PostA simple way is to add empty rows to the DataTable before binding to the GridView.
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 PostIf you need to add empty rows to a GridView which is bound to SqlDataSource, you can do it via the stored procedure.
Assign a stored procedure to the SelectCommand property of the SqlDataSource.
In the stored procedure, check whether record exists in the relevant database table.
…
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.