15,911,786 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12562978 (Top 15 by date)
Member 12562978
24-Oct-17 7:18am
View
I have shown the OnRowPostPaintEvent() method in question.Please Check the same.
Member 12562978
24-Oct-17 7:03am
View
Sir actually there are 2 columns in which one is a Value Member and other is a display member and they have width 243.
Member 12562978
24-Oct-17 6:41am
View
There's nothing turning out while debugging.Should I also show the design part of it because just looking this code you may not judge what is happening??
Member 12562978
24-Oct-17 5:29am
View
Sorry I am not able to understand what you said about Painting Events.Yes there is OnRowPostPaint Event of Datagridview. But what is it doing from there I don't have any idea.Should I show that Event Method to you??
Member 12562978
24-Oct-17 4:50am
View
Question Updated
Member 12562978
24-Oct-17 4:50am
View
Here is the Code
Member 12562978
24-Oct-17 1:02am
View
sir after saving the new record/s.I have one Search Toolstrip button which shows the already added or existing records.When I click on Search Button it shows the window with a datagridview with the names of customers as part of already added records.
Member 12562978
24-Oct-17 0:48am
View
Sir when I clear the datasource it clears.But then while searching and click on the existing record it doesn't show me the data in gridview because I have already cleared the datasource.
Member 12562978
24-Oct-17 0:29am
View
my main issue is it is clearing all the rows when updated or added.Then why it is not clearing recently added rows of new records.
Member 12562978
24-Oct-17 0:26am
View
Sir the DataGridview is already databound statically using Dataset xsd. So Here there is no dynamic binding.So here even calling refresh after clear() doesn't clear the rows and hence don't work.Its better if you run my code and check.
Member 12562978
23-Oct-17 23:45pm
View
Yes.After Saving when I click on New Toolstrip Button it does not clear the new recently added records or rows.You can see my New Button Code i.e. Ts_AddNewClicked method.I have tried dataGridView1.Rows.Clear(); but it doesnt clear the rows.
Member 12562978
23-Oct-17 23:28pm
View
Tried.It does work when we create new rows first time but it does not work when we add rows and save it.
Member 12562978
23-Oct-17 23:17pm
View
Yes.Can you help??
Member 12562978
23-Oct-17 10:27am
View
ppolymorphe. I have already debugged the code and I tried to find out why Rows are not clearing but its still not clearing in the data visualizer.I am not understanding the reason that's why I am asking.
Member 12562978
23-Oct-17 9:15am
View
Richard. Actually its not giving any error but my concern is on clicking on New button i.e.Ts_AddNewClicked method it should clear the datagridview rows after adding new records which is not happening here. Thats my worry.
Show More