Dear Freinds
I have a few question Regarding VB.NET 1) I have a datgridview and i want when user input the datagrid 3rd cell the 4 cell of datagrid readonly = false means user not input value in 4th cell 2)i want a autonumber generate in textbox is alphanumeric like "vendor9" or " "vendor10" bt when i go to save this it give error of "double to type string is not valid" i have use a following coding
Dim newac As Double
Dim mydata = From v In voucher.vr_masts Select v
For Each vr_mast In mydata
newac = vr_mast.vr_no
Next
newac = newac + 1
Select ComboBox1.SelectedIndex
Case 0
TextBox1.Text = "VR" & newac
Case 1
TextBox1.Text = "CUST" & newac
End Select
Thanks