Click here to Skip to main content
15,911,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBiztalk, pls, answer. pls. I have created a flatfile schema Pin
indian14329-Jun-07 2:27
indian14329-Jun-07 2:27 
AnswerRe: Biztalk, pls, answer. pls. I have created a flatfile schema Pin
Not Active29-Jun-07 2:36
mentorNot Active29-Jun-07 2:36 
Questionincorrect syntax error..., Pin
Member 387988129-Jun-07 2:20
Member 387988129-Jun-07 2:20 
AnswerRe: incorrect syntax error..., Pin
kubben29-Jun-07 2:25
kubben29-Jun-07 2:25 
GeneralRe: incorrect syntax error..., Pin
Member 387988129-Jun-07 2:28
Member 387988129-Jun-07 2:28 
GeneralRe: incorrect syntax error..., Pin
kubben29-Jun-07 2:31
kubben29-Jun-07 2:31 
GeneralRe: incorrect syntax error..., Pin
Member 387988129-Jun-07 2:37
Member 387988129-Jun-07 2:37 
AnswerRe: incorrect syntax error..., Pin
doWhileSomething29-Jun-07 14:53
doWhileSomething29-Jun-07 14:53 
The additional parameters when filling the dataset are optional, the second paramater is for the table name. It could be the identical name of the table your pulling from, or just an alias so you can reference it later (assuming you have more than one in your dataset).

This is likely where the error is comming from:

mySqlDataAdapter = New SqlDataAdapter("Magview" & Val(ddEmpid.SelectedItem.Value) & "," & Val(ddlMonth.SelectedItem.Value) & "," & Val(ddlYears.SelectedItem.Value) & "", sqlconn)


The data adapter has two optional parameters you can use when you create the NEW instance of it.
Commandtext(string) and an sql connection object.

Your parameters broken down look like this:
("Magview" & Val(ddEmpid.SelectedItem.Value)
& ","
& Val(ddlMonth.SelectedItem.Value) &
"," &
Val(ddlYears.SelectedItem.Value) & "",

sqlconn

The first one is what throws me off a bit, you have a fixed string and concatenating that with what should be a numeric value. (kind of sloppy code Frown | :( )) If it is a string, then you need to wrap it with single quotes. The last piece of your string appends a double quote, not sure why, but it doesnt match anything else.

If these are parameters that you are trying to feed a SPROC, then this too is still wrong.

Can you explain what it is your trying to do?



QuestionIdentifier Expected Error Pin
vijay_8329-Jun-07 2:01
vijay_8329-Jun-07 2:01 
AnswerRe: Identifier Expected Error Pin
Vasudevan Deepak Kumar29-Jun-07 2:10
Vasudevan Deepak Kumar29-Jun-07 2:10 
NewsNAKRA final Pin
NAKRAINC29-Jun-07 1:46
NAKRAINC29-Jun-07 1:46 
GeneralRe: NAKRA final Pin
kubben29-Jun-07 1:50
kubben29-Jun-07 1:50 
GeneralRe: NAKRA final Pin
Vasudevan Deepak Kumar29-Jun-07 2:12
Vasudevan Deepak Kumar29-Jun-07 2:12 
GeneralRe: NAKRA final Pin
kubben29-Jun-07 2:23
kubben29-Jun-07 2:23 
Questionweb user control Pin
kvijayajyothy29-Jun-07 1:32
kvijayajyothy29-Jun-07 1:32 
AnswerRe: web user control Pin
kubben29-Jun-07 1:45
kubben29-Jun-07 1:45 
GeneralRe: web user control Pin
kvijayajyothy29-Jun-07 2:17
kvijayajyothy29-Jun-07 2:17 
GeneralRe: web user control Pin
kubben29-Jun-07 2:22
kubben29-Jun-07 2:22 
AnswerRe: web user control Pin
Vasudevan Deepak Kumar29-Jun-07 2:15
Vasudevan Deepak Kumar29-Jun-07 2:15 
QuestionWhat are Macros? Pin
vijay_8329-Jun-07 1:28
vijay_8329-Jun-07 1:28 
AnswerRe: What are Macros? Pin
Christian Graus29-Jun-07 2:07
protectorChristian Graus29-Jun-07 2:07 
AnswerRe: What are Macros? Pin
Sathesh Sakthivel29-Jun-07 2:36
Sathesh Sakthivel29-Jun-07 2:36 
QuestionHelp with IsPostBack property Pin
SrividhyaS29-Jun-07 1:14
SrividhyaS29-Jun-07 1:14 
AnswerRe: Help with IsPostBack property Pin
Manas Bhardwaj29-Jun-07 1:21
professionalManas Bhardwaj29-Jun-07 1:21 
AnswerRe: Help with IsPostBack property Pin
marky77729-Jun-07 1:27
marky77729-Jun-07 1:27 

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.