EDN Admin
Well-known member
i have datagridview with 3 columns .. i need to make the textboxcolumn to have a default value of "100". for example the name of the column that needs to have a default value is QUANTITY , in this column "QUANTITY ", every row of this columns need to have
a default value of 100 .... please help sir...
thanks again
this is my code how i create the column in datagridview
<pre class="prettyprint Dim column3 As New DataGridViewTextBoxColumn
frmValidatorMain.datasummary.Columns.Add(column3)
column3.Width = 80
column3.Name = ("NUMBER")[/code]
<br/>
<span style="font-size:small <span style="font-size:small
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small Dim<span style="font-size:small <span style="font-size:small column3
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small As<span style="font-size:small <span style="font-size:small
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small New<span style="font-size:small <span style="font-size:small
<span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small DataGridViewTextBoxColumn<span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="font-size:small <span style="font-size:small
frmValidatorMain.datasummary.Columns.Add(column3)
column3.Width = 80
column3.Name = (
<span style="color:#a31515; font-size:small <span style="color:#a31515; font-size:small <span style="color:#a31515; font-size:small "INITIAL SCORE"<span style="font-size:small <span style="font-size:small )<span style="font-size:small <span style="font-size:small <span style="font-size:small <span style="font-size:small
View the full article
a default value of 100 .... please help sir...
thanks again
this is my code how i create the column in datagridview
<pre class="prettyprint Dim column3 As New DataGridViewTextBoxColumn
frmValidatorMain.datasummary.Columns.Add(column3)
column3.Width = 80
column3.Name = ("NUMBER")[/code]
<br/>
<span style="font-size:small <span style="font-size:small
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small Dim<span style="font-size:small <span style="font-size:small column3
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small As<span style="font-size:small <span style="font-size:small
<span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small <span style="color:#0000ff; font-size:small New<span style="font-size:small <span style="font-size:small
<span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small DataGridViewTextBoxColumn<span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="color:#2b91af; font-size:small <span style="font-size:small <span style="font-size:small
frmValidatorMain.datasummary.Columns.Add(column3)
column3.Width = 80
column3.Name = (
<span style="color:#a31515; font-size:small <span style="color:#a31515; font-size:small <span style="color:#a31515; font-size:small "INITIAL SCORE"<span style="font-size:small <span style="font-size:small )<span style="font-size:small <span style="font-size:small <span style="font-size:small <span style="font-size:small
View the full article