Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Very strange!! Can't make any change to work in VB

Very strange!! Can't make any change to work in VB

Scheduled Pinned Locked Moved Visual Basic
csharpdatabasesysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AbsolutFreedom
    wrote on last edited by
    #1

    Hey guys, I used VB.NET running on Win2K Advanced Server (SP3). I played around with DataGrid and it went fine. However, there's one point where all the changes I made seem to have no effect on the program when I ran it. This is what happened: I created a datagrid containing 3 columns, then I set the datasource to the dataset I read from SQL. It went fine! Then I tried to play with the property of the datagrid (change the ReadOnly property for the column), and it didn't show any effect when I ran the program. Then, I delete 1 column from the datagrid (so, it's left with 2 columns), however, when I compiled and ran it, the datagrid still showed up with 3 columns!!! Has anybody experienced this before? Or know the reason behind it? Thanks in advance for your help! :)

    N 1 Reply Last reply
    0
    • A AbsolutFreedom

      Hey guys, I used VB.NET running on Win2K Advanced Server (SP3). I played around with DataGrid and it went fine. However, there's one point where all the changes I made seem to have no effect on the program when I ran it. This is what happened: I created a datagrid containing 3 columns, then I set the datasource to the dataset I read from SQL. It went fine! Then I tried to play with the property of the datagrid (change the ReadOnly property for the column), and it didn't show any effect when I ran the program. Then, I delete 1 column from the datagrid (so, it's left with 2 columns), however, when I compiled and ran it, the datagrid still showed up with 3 columns!!! Has anybody experienced this before? Or know the reason behind it? Thanks in advance for your help! :)

      N Offline
      N Offline
      Nick Seng
      wrote on last edited by
      #2

      I haven't used too much of the Windows datagrid, but if IIRC, any changes you make to the grid(like column no, or size) will not be reflected if you use databinding.


      Support Bone

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups