Strange Behavior With Gridview Control...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashiswa
    New Member
    • Nov 2008
    • 5

    Strange Behavior With Gridview Control...

    Hi,

    I am having a strange problem in the attached project... I will be very grateful if you people help me.

    In the attached project when I load the files in datatable and then try to add images without using the "Dispose" method the datagridview does not showing it correctly and when I load images with "Dispose" method then everything is showing correctly but the files are being lock and i am unable rename them...

    Hope i explain the problem correctly...

    Thanks in advance for your help.
    Attached Files
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Are you stuck only using .NET1.x?

    Comment

    • ashiswa
      New Member
      • Nov 2008
      • 5

      #3
      thanks for reply... No i am using the latest version of vb.net and this app is develop in vs2008

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        So then why are you using a deprecated control?

        Comment

        • ashiswa
          New Member
          • Nov 2008
          • 5

          #5
          Sorry i did not get your point?

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

            #6
            Ok after looking through your code you are using the DataGridView.
            I should have known from the start you mean DataGridView since GridView is a web-only control.

            When I run your code, both "Load Images" and "Load Images without dispose" work just fine?

            Comment

            Working...