Click here to Skip to main content
15,889,728 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Redirect to UnAuthorized Page in Windows Authentication Pin
antony beula21-Jun-11 2:40
antony beula21-Jun-11 2:40 
QuestionTextbox value doesn't change between postbacks Pin
benams21-Jun-11 1:20
benams21-Jun-11 1:20 
AnswerRe: Textbox value doesn't change between postbacks Pin
mcyogi21-Jun-11 1:37
mcyogi21-Jun-11 1:37 
AnswerRe: Textbox value doesn't change between postbacks Pin
Not Active21-Jun-11 2:26
mentorNot Active21-Jun-11 2:26 
Questionwhat are the configuratiions in the asp.net validation controls? and please give the code to the configurations? Pin
hariprasad.yandrapu20-Jun-11 22:25
hariprasad.yandrapu20-Jun-11 22:25 
AnswerRe: what are the configuratiions in the asp.net validation controls? and please give the code to the configurations? Pin
Not Active21-Jun-11 2:24
mentorNot Active21-Jun-11 2:24 
AnswerRe: what are the configuratiions in the asp.net validation controls? and please give the code to the configurations? Pin
thatraja21-Jun-11 19:38
professionalthatraja21-Jun-11 19:38 
Questionexception: Missing semicolon (;) at end of SQL statement [modified] Pin
benams20-Jun-11 8:32
benams20-Jun-11 8:32 
I'm using msaccess(2007) database and I get the error message above while tryig to execute the following code:
OleDbCommand cmd = new OleDbCommand();
cmd.CommandText = "INSERT INTO tblCategory(CategoryName, OrderNum) " +
                  "VALUES(@CategoryName, @OrderNum) " +
                  "SELECT @@IDENTITY AS ID";
cmd.Parameters.Add(new OleDbParameter("@CategoryName", Category.CategoryName));
cmd.Parameters.Add(new OleDbParameter("@OrderNum", Category.Order));
cmd.Connection = DataAccess.CreateConnection("Malasot", false);
DataTable dt = new DataTable();
OleDbDataAdapter adapter = new OleDbDataAdapter(cmd);

if(cmd.Connection.State != ConnectionState.Open)
   cmd.Connection.Open();

adapter.Fill(dt); // ***the exception occurs here.***


note: I have tryed putting semicolon between the 2 statements and it doesn't solve the problem.

modified on Monday, June 20, 2011 2:38 PM

AnswerRe: exception: Missing semicolon (;) at end of SQL statement Pin
Parwej Ahamad20-Jun-11 8:38
professionalParwej Ahamad20-Jun-11 8:38 
GeneralRe: exception: Missing semicolon (;) at end of SQL statement Pin
benams20-Jun-11 8:41
benams20-Jun-11 8:41 
AnswerRe: exception: Missing semicolon (;) at end of SQL statement Pin
AspDotNetDev20-Jun-11 8:54
protectorAspDotNetDev20-Jun-11 8:54 
GeneralRe: exception: Missing semicolon (;) at end of SQL statement Pin
Parwej Ahamad20-Jun-11 8:55
professionalParwej Ahamad20-Jun-11 8:55 
GeneralRe: exception: Missing semicolon (;) at end of SQL statement Pin
benams20-Jun-11 23:13
benams20-Jun-11 23:13 
GeneralRe: exception: Missing semicolon (;) at end of SQL statement Pin
Parwej Ahamad21-Jun-11 0:26
professionalParwej Ahamad21-Jun-11 0:26 
GeneralRe: exception: Missing semicolon (;) at end of SQL statement Pin
benams21-Jun-11 0:39
benams21-Jun-11 0:39 
QuestionUpdateProgress on upddatepanel triggers Pin
Ali Al Omairi(Abu AlHassan)19-Jun-11 1:37
professionalAli Al Omairi(Abu AlHassan)19-Jun-11 1:37 
AnswerRe: UpdateProgress on upddatepanel triggers Pin
Parwej Ahamad20-Jun-11 8:35
professionalParwej Ahamad20-Jun-11 8:35 
GeneralRe: UpdateProgress on upddatepanel triggers Pin
Ali Al Omairi(Abu AlHassan)21-Jun-11 22:47
professionalAli Al Omairi(Abu AlHassan)21-Jun-11 22:47 
Questionhow to start MVC Pin
somasekhara77718-Jun-11 4:40
somasekhara77718-Jun-11 4:40 
AnswerRe: how to start MVC Pin
Philippe Mori18-Jun-11 5:04
Philippe Mori18-Jun-11 5:04 
GeneralRe: how to start MVC Pin
somasekhara77718-Jun-11 6:37
somasekhara77718-Jun-11 6:37 
AnswerRe: how to start MVC Pin
Prasanta_Prince19-Jun-11 6:24
Prasanta_Prince19-Jun-11 6:24 
QuestionProblem in web application deployment Pin
sakssp17-Jun-11 20:19
sakssp17-Jun-11 20:19 
AnswerRe: Problem in web application deployment Pin
R. Giskard Reventlov17-Jun-11 20:50
R. Giskard Reventlov17-Jun-11 20:50 
GeneralRe: Problem in web application deployment Pin
somasekhara77718-Jun-11 4:57
somasekhara77718-Jun-11 4:57 

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.