Click here to Skip to main content
15,928,207 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMetaData about Flash Video FLV File Pin
librans_ashu12-Sep-06 2:02
librans_ashu12-Sep-06 2:02 
QuestionHow to register an assembly in asp.net web app? [modified] Pin
choorakkuttyil12-Sep-06 1:53
choorakkuttyil12-Sep-06 1:53 
QuestionSyntax error in INSERT INTO statement. Pin
kirthikirthi12-Sep-06 1:28
kirthikirthi12-Sep-06 1:28 
AnswerRe: Syntax error in INSERT INTO statement. Pin
Colin Angus Mackay12-Sep-06 1:51
Colin Angus Mackay12-Sep-06 1:51 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Sathesh Sakthivel12-Sep-06 2:02
Sathesh Sakthivel12-Sep-06 2:02 
GeneralRe: Syntax error in INSERT INTO statement. Pin
Colin Angus Mackay13-Sep-06 7:01
Colin Angus Mackay13-Sep-06 7:01 
AnswerRe: Syntax error in INSERT INTO statement. Pin
Guffa12-Sep-06 3:21
Guffa12-Sep-06 3:21 
GeneralRe: Syntax error in INSERT INTO statement. Pin
kirthikirthi12-Sep-06 19:56
kirthikirthi12-Sep-06 19:56 
Hi

Sorry all of u

Actiually i didnt post my second error

Some times It is giving "Unspicified Error" in connection.open()

Or it is giving "Syntax error in INSERT INTO statement"
And i chk the insert statement also no errors in that
Plz chk my code
MYCODE
----------

Dim sConnectionString
Dim objCmd As New System.Data.OleDb.OleDbCommand
sConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("Some.mdb") & ";")
Dim objConn As New System.Data.OleDb.OleDbConnection(sConnectionString)
objCmd.Connection = objConn
objCmd.CommandText = "INSERT INTO Info(1,2,3,4,5,6,----------------20) values('" & 1.Text & "','" & 2.Text & "','" &

3.Text & "','" & 4.Text & "','" & 5.SelectedItem.Text & "','" & 6.SelectedItem.Text & "',--------------------- up to 20

fields)"
objCmd.Connection = objConn
objConn.Open()
objCmd.ExecuteNonQuery()
objConn.Close()

THX

asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf

GeneralRe: Syntax error in INSERT INTO statement. Pin
Guffa12-Sep-06 23:00
Guffa12-Sep-06 23:00 
GeneralRe: Syntax error in INSERT INTO statement. Pin
kirthikirthi12-Sep-06 23:25
kirthikirthi12-Sep-06 23:25 
AnswerRe: Syntax error in INSERT INTO statement. Pin
Guffa12-Sep-06 23:49
Guffa12-Sep-06 23:49 
GeneralRe: Syntax error in INSERT INTO statement. Pin
kirthikirthi14-Sep-06 0:51
kirthikirthi14-Sep-06 0:51 
AnswerRe: Syntax error in INSERT INTO statement. Pin
Guffa14-Sep-06 1:30
Guffa14-Sep-06 1:30 
GeneralRe: Syntax error in INSERT INTO statement. Pin
kirthikirthi14-Sep-06 2:07
kirthikirthi14-Sep-06 2:07 
QuestionJavscript in asp.net 1.1 Pin
anujose12-Sep-06 1:27
anujose12-Sep-06 1:27 
AnswerRe: Javscript in asp.net 1.1 Pin
_AK_12-Sep-06 1:31
_AK_12-Sep-06 1:31 
AnswerRe: Javscript in asp.net 1.1 Pin
mbbisht12-Sep-06 1:40
mbbisht12-Sep-06 1:40 
AnswerRe: Javscript in asp.net 1.1 Pin
Tony Pink12-Sep-06 19:56
Tony Pink12-Sep-06 19:56 
Questionhow to validate asp.net2 web page controls by javascript in master content pages Pin
zahra yousefi12-Sep-06 1:01
zahra yousefi12-Sep-06 1:01 
AnswerRe: how to validate asp.net2 web page controls by javascript in master content pages Pin
mbbisht12-Sep-06 1:38
mbbisht12-Sep-06 1:38 
Questionstart asp.net programming [modified] Pin
zon_cpp12-Sep-06 0:50
zon_cpp12-Sep-06 0:50 
AnswerRe: start asp.net programming Pin
Sebastien Lachance14-Sep-06 9:26
Sebastien Lachance14-Sep-06 9:26 
QuestionPermissions to Shared folders Pin
Bhasker Pinninti12-Sep-06 0:20
Bhasker Pinninti12-Sep-06 0:20 
AnswerRe: Permissions to Shared folders Pin
Britney S. Morales12-Sep-06 3:57
Britney S. Morales12-Sep-06 3:57 
GeneralRe: Permissions to Shared folders Pin
Bhasker Pinninti12-Sep-06 5:15
Bhasker Pinninti12-Sep-06 5:15 

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.