TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Guest User
Tech Writer
111
10.1k
How to disable Back Button if it selects any records from Grid View
May 12 2021 7:02 AM
private void btnBack_Click(object sender, EventArgs e)
{
//if(Convert.ToString(dgvCollateralSearchAccountResults.SelectedRows[0].Cells[0].Value)
this.Hide();
CollateralWelcome CW = new CollateralWelcome();
CW.Show();
//pnlSearchResults.Show();
//pnlSearch.Show();
}
With this piece of code I am able to go back but one condition is there like if user select any records from
dgvCollateralSearchAccountResults ,Back Button should be disabled.
Please suggest me
Reply
Answers (
2
)
Problem with complex form. After closing the form, the RAM will not be
Invisible/Hidden Scroll Bars in C1TrueDBGrid Grid in Windows Forms ?