PROKA Posted February 15, 2007 Posted February 15, 2007 How do I programmatically check a checkbox in a datagridview? The true value of the column "chk2" is set to "yes" and the false to "no" datagridview1("chk2", row_number).Value = "yes" doesn't work Quote Development & Research Department @ Elven Soft
Nate Bross Posted February 16, 2007 Posted February 16, 2007 I don't have my compiler on this computer, but I usually use something like this: DatagridView.DataTable.Rows(row_Num).Column("chk").Value = "yes" Like I said I haven't got a compiler, I may have the syntax wrong, but that's the general idea. Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.