Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
datagridview1 row count less 1
Shovan Saha
Aug 16 2017 2:08 PM
198
Reply
I have a datagridview1. I want to (count row - 1) and show in a label. I have tried like this error in string to int.
private void lblCountAP()
{
int x = dataGridView1AP.Rows.Count.ToString();
lblCountArmy.Text = x - 1;
}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
In DataGrid both Header and Footer fixed while scrolling
How to delete data by date range