Click here to Skip to main content
15,927,212 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to pass value of a variable of one form to the next in vb.net Pin
Christian Graus5-Jul-07 1:12
protectorChristian Graus5-Jul-07 1:12 
Questionthis code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 21:44
magedhv4-Jul-07 21:44 
AnswerRe: this code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 21:48
magedhv4-Jul-07 21:48 
GeneralRe: this code was working in form1 and did not work in form2 Pin
SHatchard4-Jul-07 21:56
SHatchard4-Jul-07 21:56 
GeneralRe: this code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 22:07
magedhv4-Jul-07 22:07 
GeneralRe: this code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 22:11
magedhv4-Jul-07 22:11 
GeneralRe: this code was working in form1 and did not work in form2 Pin
SHatchard4-Jul-07 23:03
SHatchard4-Jul-07 23:03 
GeneralRe: this code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 23:12
magedhv4-Jul-07 23:12 
here the code is it write ??
        Dim f1, f2, f3, f4, f5, f6, f7, f8 As String<br />
<br />
        f1 = "#" & DateTimePicker1.Value & "#,"<br />
<br />
        f2 = "'" & ComboBox1.Text & "',"<br />
<br />
        f3 = "'" & ComboBox2.Text & "',"<br />
<br />
        f4 = "'" & TextBox1.Text & "',"<br />
<br />
        f5 = "'" & TextBox2.Text & "',"<br />
<br />
        f6 = "'" & TextBox3.Text & "',"<br />
<br />
        f7 = "'" & TextBox4.Text & ""<br />
<br />
        ' f8 = "'" & Label10.Text & "'"<br />
<br />
        s = "insert into sale"<br />
        s = s & " (dte,op,nos,cost,coms,nii,npp)values "<br />
<br />
        ' s = s & "(" & f1 & "," & f2 & "," & f3 & "," & f4 & "," & "," & f5 & "," & "," & f6 & "," & f7 & "')"<br />
<br />
        s = s & "(" & f1 & f2 & f3 & f4 & f5 & f6 & f7 & ")"<br />
<br />


the error msg is :Syntax error in string in query expression ''12.75)'.
and here the breakpoint :
"insert into sale (dte,op,nos,cost,coms,nii,npp)values (#7/2/2007#,'Mobinil','10','1','13','0.25','12.75)"
GeneralRe: this code was working in form1 and did not work in form2 Pin
SHatchard4-Jul-07 23:13
SHatchard4-Jul-07 23:13 
AnswerRe: this code was working in form1 and did not work in form2 Pin
magedhv4-Jul-07 23:26
magedhv4-Jul-07 23:26 
GeneralRe: this code was working in form1 and did not work in form2 Pin
Christian Graus5-Jul-07 1:19
protectorChristian Graus5-Jul-07 1:19 
Questionhow can i add check box to gridView header.. Pin
koolprasad20034-Jul-07 21:19
professionalkoolprasad20034-Jul-07 21:19 
AnswerRe: how can i add check box to gridView header.. Pin
DanB19835-Jul-07 4:43
DanB19835-Jul-07 4:43 
QuestionEmbeding all Application settings while compiling. Pin
NANCO4-Jul-07 20:59
NANCO4-Jul-07 20:59 
Questionrestrict open multiple times on same application Pin
PrakashBhaskar4-Jul-07 20:58
PrakashBhaskar4-Jul-07 20:58 
AnswerRe: restrict open multiple times on same application Pin
SHatchard4-Jul-07 21:15
SHatchard4-Jul-07 21:15 
AnswerRe: restrict open multiple times on same application Pin
NANCO4-Jul-07 22:05
NANCO4-Jul-07 22:05 
GeneralRe: restrict open multiple times on same application Pin
PrakashBhaskar4-Jul-07 22:57
PrakashBhaskar4-Jul-07 22:57 
AnswerRe: restrict open multiple times on same application Pin
Rupesh Kumar Swami4-Jul-07 22:21
Rupesh Kumar Swami4-Jul-07 22:21 
GeneralRe: restrict open multiple times on same application Pin
PrakashBhaskar4-Jul-07 22:56
PrakashBhaskar4-Jul-07 22:56 
QuestionSaveSettings Pin
nitin34-Jul-07 20:15
nitin34-Jul-07 20:15 
AnswerRe: SaveSettings Pin
ips_sun6-Jul-07 2:22
ips_sun6-Jul-07 2:22 
Questionhow to get the tabular data from text files and display it in tbale format in asp and vb.net Pin
chiyankrishna4-Jul-07 19:25
chiyankrishna4-Jul-07 19:25 
AnswerRe: how to get the tabular data from text files and display it in tbale format in asp and vb.net Pin
DanB19835-Jul-07 0:03
DanB19835-Jul-07 0:03 
QuestionEnvironment Class [modified] Pin
Navneet Hegde4-Jul-07 18:43
Navneet Hegde4-Jul-07 18:43 

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.