Results 1 to 4 of 4

Thread: VB.NET DataGrid - HowTo

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298

    VB.NET DataGrid - HowTo

    The below link is to an FAQ that has quite a few answer to common tasks with the DataGrid. Such as adding images into a datagrid, stopping the user from resizing the columns and adding combo boxes to your datagrid, just to mention a few.

    Hope this is of use.

    http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

    Regards,


    Matt.
    Last edited by MattJH; Aug 19th, 2003 at 10:54 AM.

  2. #2
    Lively Member
    Join Date
    Jul 2003
    Posts
    90
    Hey Matt, good link. One item I could not find for VB.net. That is how to create an unbound column with bound columns. The example on the FAQ show it for C#. However, it requires you to create a new column in the actual database. This is not preffered for my app. I need to do a calc on a field from the database then display the result of that calc. Do you know of a way to do this? Thanks!

  3. #3
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    I must admit, I followed this link and then went to the Microsoft Knowledge Database article link, yes it worked did exactly what I wanted to do, congratulations to the person that first provided this link one of the best yet. It's been a life saver!!!

    The more I program in VB .Net, the more I realise what a tremendous development system it is and the more I realise how little I know and how much I have to learn.

    Speaking of life savers, time and time again contributions here have got me out of a hole and it is always my first point of reference to see if anyone has experienced a similar problem and if so did any contributors come up with an answer, the answer is usually Yes

  4. #4
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    just noticed the post from jstansell, the solution offered for an unbound coplumn is not as awkward as it seems as you can add the data column in your program and then remove it after you have finished, not elegant I know but does solve the problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width