sir i am developing application in windows so i want that when i serach data that data then that data is dislpayed indatagridview when i am doing that thecvdata is displayed but there is one blank row created in gridview below that row:means that suppose in first row of gridview tge serach data is there and below that an emnpty row is created .so how i block to create an empty row
i do search in keydown event
arunasingh
0
Light Poster
Recommended Answers
Jump to PostIf you don't want the blank row to be shown you have to set the 'enable adding' property in the designtime to be false.
Jump to PostAt which point it generates that error? If the index is out of range you're trying to get a non existing row in the collection of rows......
Could you show some code?
Regards
All 6 Replies
4advanced
23
Junior Poster in Training
arunasingh
0
Light Poster
4advanced
23
Junior Poster in Training
arunasingh
0
Light Poster
4advanced
23
Junior Poster in Training
arunasingh
0
Light Poster
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.