#VB.NET
1 messages · Page 1 of 1 (latest)
Please ask your question directly
Please take a minute to read the #📄・posting-guidelines
Ok it was just that it’s rare to find people that use Vb.net
I doubt anyone here does
Should i put my problems or start another one
we dont need to use vb.net to be able to help you
I made a code which stores details of batters and bowlers in a data grid but I want to store them in the data grid from most runs to least runs how can I do this
Just put your problem here and be sure to include as much details as possible
Ok is that better
Can you help me please
you have a datagridview?
Yes
I think you just do DataGridView1.Sort(DataGridView1.Columns(1), ListSortDirection.Descending)
with the right name and right columns that you need
I put this then said I need to declare listsortdirection then put Dim listsortdirection AS
Then I got an error
What did I do wrong
try System.ComponentModel.ListSortDirection.Descending
I want to make a league table so there’s like 12 teams
3 points for a win
1 for a draw
0 for a loss
But don’t know how to do this can anyone help me please
Can you help me with this please if possible
Maybe datagridview.Rows[i].Cells["columnName"].Value = newValue
No I mean can you help with the league table
No
That was my bad I said it wrong
I want to make a league table so there’s like 12 teams
3 points for a win
1 for a draw
0 for a loss
But don’t know how to do this can anyone help me please
well you make the table then the code to update the points. This sounds like a basic if else scenario
I am a beginner so I’m not sure
what have you try so far?
Tbh I just made the league table with the data grid dk how to start off
it depends on what you need lol do you want to just update the data, simulate the games, have input to enter the games score , etc etc there are so many things you can do that it depends on what you want
I just want it to be like this
@past mulch do you have all those data available?
Wdym I’ll enter the data myself I just dk the coding part
not sure the datagridview can let you put colored stuff in it
Na I don’t want the colouring
I want it without green and red and nrr
try this video maybe
★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ http://bit.ly/2vsuMaS ⚫️ http://bit.ly/2GOaeQB
Java Programming Course ➡️ http://bit.ly/2GEfQMf ⚫️ http://bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ http://bit.ly/2DBVF0C ⚫️ http://bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ http://bit.ly/2IXuil0 ⚫️ http://bit...
Ik how to do this
Idk how to update the league table for example when a team wins add 3 points to them
@gusty badge what do you think
this no?
thats how you update data in the grid
Let’s say I want to update a team from 0 to 3 points how will I code that
datagridview.Rows[i].Cells["Score"].Value = 3
thats exactly what I sent no?
just need to modify the name of the cell
I’m gonna try it let you know thanks