Click here to Skip to main content
15,887,485 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DGV with multiple Tables Pin
Mycroft Holmes23-May-16 19:53
professionalMycroft Holmes23-May-16 19:53 
SuggestionRe: DGV with multiple Tables Pin
Richard Deeming24-May-16 1:34
mveRichard Deeming24-May-16 1:34 
GeneralRe: DGV with multiple Tables Pin
Mycroft Holmes24-May-16 12:38
professionalMycroft Holmes24-May-16 12:38 
AnswerRe: DGV with multiple Tables Pin
Richard Deeming24-May-16 1:41
mveRichard Deeming24-May-16 1:41 
GeneralRe: DGV with multiple Tables Pin
Raabi Anony24-May-16 16:06
Raabi Anony24-May-16 16:06 
GeneralRe: DGV with multiple Tables Pin
Raabi Anony25-May-16 0:41
Raabi Anony25-May-16 0:41 
GeneralRe: DGV with multiple Tables Pin
Richard Deeming25-May-16 0:55
mveRichard Deeming25-May-16 0:55 
QuestionString or Binary Data Would be Truncated. The Statement has been Terminated Pin
kishore-201622-May-16 7:35
kishore-201622-May-16 7:35 
I am getting error while inserting data into column "initial_read_km".I am writting below code.

Dim t1 As String
t1 = txtiniread.Text
Dim t2 As String = Strings.Right("00000000" & t1.ToString(), 8)

cmd.CommandText = "insert into tbVehicle(Initial_read_km) values('" & t2 & "')"
cmd.ExecuteNonQuery()

please help on this.

modified 22-May-16 15:23pm.

AnswerRe: String or Binary Data Would be Truncated. The Statement has been Terminated Pin
Sascha Lefèvre22-May-16 12:19
professionalSascha Lefèvre22-May-16 12:19 
QuestionRe: String or Binary Data Would be Truncated. The Statement has been Terminated Pin
Richard MacCutchan22-May-16 21:05
mveRichard MacCutchan22-May-16 21:05 
SuggestionRe: String or Binary Data Would be Truncated. The Statement has been Terminated Pin
Richard Deeming23-May-16 1:52
mveRichard Deeming23-May-16 1:52 
AnswerRe: String or Binary Data Would be Truncated. The Statement has been Terminated Pin
Member 1256155913-Jun-16 5:23
Member 1256155913-Jun-16 5:23 
QuestionHow we can retrieve Gridvalue Pin
MANISHA SONAWANE19-May-16 20:05
MANISHA SONAWANE19-May-16 20:05 
SuggestionRe: How we can retrieve Gridvalue Pin
Richard MacCutchan19-May-16 21:27
mveRichard MacCutchan19-May-16 21:27 
GeneralRe: How we can retrieve Gridvalue Pin
MANISHA SONAWANE19-May-16 22:06
MANISHA SONAWANE19-May-16 22:06 
QuestionRe: How we can retrieve Gridvalue Pin
Richard MacCutchan19-May-16 22:17
mveRichard MacCutchan19-May-16 22:17 
AnswerRe: How we can retrieve Gridvalue Pin
MANISHA SONAWANE19-May-16 23:02
MANISHA SONAWANE19-May-16 23:02 
QuestionRe: How we can retrieve Gridvalue Pin
Richard MacCutchan20-May-16 1:43
mveRichard MacCutchan20-May-16 1:43 
GeneralRe: How we can retrieve Gridvalue Pin
Eddy Vluggen20-May-16 2:53
professionalEddy Vluggen20-May-16 2:53 
QuestionError in MsHflexGrid for rowcolchange event Pin
srikrishnathanthri19-May-16 0:52
srikrishnathanthri19-May-16 0:52 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Eddy Vluggen19-May-16 4:35
professionalEddy Vluggen19-May-16 4:35 
AnswerRe: Error in MsHflexGrid for rowcolchange event Pin
Dave Kreskowiak19-May-16 5:40
mveDave Kreskowiak19-May-16 5:40 
GeneralI need your VB6 programs! Pin
DutchComputerKid13-May-16 6:55
DutchComputerKid13-May-16 6:55 
GeneralRe: I need your VB6 programs! Pin
Dave Kreskowiak14-May-16 15:28
mveDave Kreskowiak14-May-16 15:28 
GeneralRe: I need your VB6 programs! Pin
DutchComputerKid16-May-16 16:53
DutchComputerKid16-May-16 16:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.