What data control should I use which is closet to the betfair datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Guest

    #1

    What data control should I use which is closet to the betfair datagrid

    For background I am a classic VB programmer (VB6) learning VB.NET & API_NG at the same time. Have been working with VB.NET for around 2 months and now I know why I did avoid it for soooo long. VB.NET is great but its a big change from VB6.

    Anyway I have a listbox for my horse races and then when I select the race I want to have some control populate the betting odds just like Betfair does.

    What is the best control to use ?

    I am using the datagridview as shown below however does anyone know a better control to use ?

    Ta




    Troy
    Last edited by Guest; 20-03-2014, 02:12 PM.
  • betdynamics
    Junior Member
    • Sep 2010
    • 534

    #2
    I don't know VB but using the datagridview seems like a good choice to me.

    Out of interest, why do you think it isn't?

    Comment

    • Guest

      #3
      Originally posted by betdynamics View Post
      I don't know VB but using the datagridview seems like a good choice to me.

      Out of interest, why do you think it isn't?
      Oh i can make it work including formating odds with size of money underneath, however I just wanted to see what every one else was using.

      To write to my grid called dgvEventDetails, I use the following code. Of course the strings will be replaced with string variables later on.

      Dim row() As String
      row = New String() {"SR7 SYD", "PLACE", "2.1" & vbCrLf & "$45", "2.4" & vbCrLf & "$25", "3.6" & vbCrLf & "$125", "5.6" & vbCrLf & "$5", "6.8" & vbCrLf & "$4", "7.8" & vbCrLf & "$22", "1.8", "2.2"}
      dgvEventDetails.Rows.Add(row)

      Comment

      Working...
      X