Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
Visibility of check box in Datagrid view of Windows Form.
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Pradeep Hembram
8y
314
1
Reply
foreach (DataGridViewRow row in dvgCbs3Prod.Rows)
{
if (Convert.ToDecimal(dvgCbs3Prod.Rows[row.Index].Cells[10].EditedFormattedValue) == 0)
{
dvgCbs3Prod.Rows[row.Index].Cells[10].Value = DBNull.Value;
//dvgCbs3Prod.Rows[row.Index].Cells[10] = new DataGridViewTextBoxCell();
}
else
{
dvgCbs3Prod.Rows[row.Index].Cells[10].Visible= false;
}
}
Guys I am using this code but it is not ....Plz suggest me how to hide the check box of a particular cell in datagrid view
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Bind combobox on celldoubleclick of datagridview
FilePermissions