Hi all
I have one DataSet bind to a one DGV. And in a Sub i have the code that formats the DGV columns.
Something like this
This works just fine.
dgJogos.Columns(4).SortMode = DataGridViewColumnSortMode.NotSortable
dgJogos.Columns(4).Width = 140...
Sorry you are right lol the code i gave to you will no work. It was a very rapidly answer.
Any way.. Your code is very long and hard to decipher becose you are the one who is accustumed to see it and work with it and for you is simple to understand.
For me is a little hard to see it, and even...
if you really want to set your saved teacher at the cbo index 0 then you shloud reorder the table("TeachersName") and set the saved teacher to de index 0 of this dataset table then since your cbo is bind to this dataset table your saved teacher will be at the cbo index 0
and then on Load From...
Hi there
If i do understand correctly, all you want is to display your saved teacher on the combo box. Right?
Since you know exactly that your saved teacher is on the cbo items colection you can directly put the cbo to show your saved teacher like this
cbo.SelectedIndex = saved_teacher
by doing...
Hi everyone
I'm developing a program where i have 8 Labels.
In my code i created an ContextMenuStrip which i full fill with 16 items.
And then i associate all my Labels to the ContextMenuStrip.
Now is the complicated thing to me... I want to know which one of my label starts up the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.