C# DataGridView - quick question
$30-100 USD
Πληρώθηκε κατά την παράδοση
I have a very quick and simple question. Don't put the bid price to $30..thinking it is in $30-100 range...I don't have any option less than that. I am ready to pay $5-10
I have a datagridview1 on my form.
The datagridview1 has Col_1, Col_2 and Col_3.
My code:
[url removed, login to view]["Col_1"].ReadOnly = true;
[url removed, login to view]["Col_3"].ReadOnly = true;
Problem:
The tab index will not skip the read only column.
Solution:
You can just create a dumy datle with three columns (col_1 int, col_2 int, col_3 int).
CommandText = "Select * from dumy"
dataAdaptor...
dataset...
[url removed, login to view] = [url removed, login to view][0];
[url removed, login to view]["col_1"].ReadOnly = true;
[url removed, login to view]["col_3"].ReadOnly = true;
all three column should be visible.
tab index should not stop at col_1 or col_3.
so tab key will go to next row.
NEED THIS IN C# 2005
Ταυτότητα Εργασίας: #130981