Please guys if you know the solution, kindly reply,

My problem is how can I set to visible = true those hidden rows in my datagridview?. When the form loads, I set some rows to visible = false due to some reason. Now, I cannot find away to unhidden them.

Please reply guys...Thanks a lot.


Sincerely your,

WHchaz1027

Hi
I'm 100% sure on this but as .visible is a boolean you maybe able to do something like this:

for each Row in MyDatagridview.Rows
  if Row.Visible = false then Row.visible = true
next

The question is does the .visible let you "read" from it or only set the value...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.