Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Search in DataGridView (without database or query binded)
Hadi Muhammadi
Aug 28 2015 7:27 PM
580
Reply
Good day;
i want to add row in blank DataGridView by DataTable, this adding should follow 1 rule
(in pseudo code):
:
"IF item before added, update 'Number' cell by refrenced TextBox (DataGridView Cell's: FName, LName, Number)
ELSE add new row"
my form: http://up2www.com/uploads/152eC-.png
but there are two problems:
1. first row could not be added by below code (no error). (first row should be add by another button or default value)
2. Compare to find a existent row similar to the row being added, played only the first row of the DataGridView.
my code: attached
Please help me by code
Attachment:
sedgv.rar
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to Excecute sql SP by using Windows/Web servieces?
code to download files in gridview