Thank you so much! That did exactly what I wanted and it elminated the need for an extra subroutine.
kristina_c
Posts
-
datagrids -
access deniedOkay, what if the whole folder, pgm and all, is read-only? Can you change it to grant write access through code? I'm trying to play with the fileIOpermissions but I think I'm going down the wrong track...
-
datagridsthank you - looks like a good site, I'll be bookmarking that! I actually made a little subroutine that deletes the datagrid and then makes a new one. Then the scroll bar goes back to the top. But I will try this too...perhaps less code.
-
datagridsI have a datagrid that displays information based on searches. When I run a search, the datagrid fills and I can scroll through the table. However, let's say I scroll down the list a little, and then decide to run another search. The datagrid fills with the new information and shows the top of the list, but the scroll box doesn't change. Then when I click on the scroll bar the table snaps to where it would be in relation to the scroll bar. How do I make the scroll bar move back to the top when the datagrid fills with new information? (This is on a Windows form btw) Puzzled...