Devam Ediyor

C# DataGridView - quick question

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;


The tab index will not skip the read only column.


You can just create a dumy datle with three columns (col_1 int, col_2 int, col_3 int).

CommandText = "Select * from dumy"



[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.


Beceriler: .NET

Daha fazlasını gör: datagridview, search datagridview, datagridview next row, datagridview next cell, datagridview readonly, datagridview cell tab index, datagridview enter tab, datagridview select next row, datagridview search, select next row datagridview, datagridview select row, datagridview tab skip readonly, datagridview1, datagridview tab, goto next row datagridview enter, next row datagridview, tab stop datagridviewcell, search row datagridview, create find find next datagridview, datagridview tab next row

İşveren Hakkında:
( 5 değerlendirme ) Jenkintown, United States

Proje NO: #130981