Click here to Skip to main content
15,886,806 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Events not responding after re-creation of dynamically created webcontrols Pin
oxiroxt10-Jul-06 23:12
oxiroxt10-Jul-06 23:12 
QuestionPrint Headers of Datagrid on Multiple Pages Pin
varun_khanna1710-Jul-06 22:15
varun_khanna1710-Jul-06 22:15 
QuestionScreen Capture Pin
Jeeva Mary Varghese10-Jul-06 21:37
Jeeva Mary Varghese10-Jul-06 21:37 
AnswerRe: Screen Capture Pin
Guffa11-Jul-06 0:07
Guffa11-Jul-06 0:07 
GeneralRe: Screen Capture Pin
Jeeva Mary Varghese11-Jul-06 0:21
Jeeva Mary Varghese11-Jul-06 0:21 
AnswerRe: Screen Capture Pin
Guffa11-Jul-06 9:41
Guffa11-Jul-06 9:41 
GeneralRe: Screen Capture Pin
Jeeva Mary Varghese11-Jul-06 23:16
Jeeva Mary Varghese11-Jul-06 23:16 
QuestionInsert command Pin
kirthikirthi10-Jul-06 20:42
kirthikirthi10-Jul-06 20:42 
Hi all

i am trying to insert data into access database but it is giving this error plz can any one tell me why it is giving this error
ERROR :
-----------

Operation must use an updateable query.


MY CODE :
----------
Dim sConnectionString
Dim objCmd As New System.Data.OleDb.OleDbCommand

sConnectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("users.mdb") & ";")

Dim objConn As New System.Data.OleDb.OleDbConnection(sConnectionString)

objConn.Open()

objCmd.Connection = objConn

objCmd.CommandText = "INSERT INTO userInfo(username,userpasswd) values('" & TextBox1.Text & "','" & TextBox2.Text & "')"

objCmd.ExecuteNonQuery()

objConn.Close()

THX



asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf

-- modified at 3:26 Tuesday 11th July, 2006
AnswerRe: Insert command Pin
Guffa10-Jul-06 23:39
Guffa10-Jul-06 23:39 
GeneralRe: Insert command Pin
kirthikirthi11-Jul-06 0:48
kirthikirthi11-Jul-06 0:48 
GeneralRe: Insert command Pin
eggsovereasy11-Jul-06 9:01
eggsovereasy11-Jul-06 9:01 
QuestionInterop Error while including Microsoft outlook dll in dot net 2005 Pin
aaraaayen10-Jul-06 20:36
aaraaayen10-Jul-06 20:36 
Questionauto upload/export of a downloaded CSV file to SQLSERVER on the server Pin
amitcoder8310-Jul-06 19:55
amitcoder8310-Jul-06 19:55 
AnswerRe: auto upload/export of a downloaded CSV file to SQLSERVER on the server Pin
Saifi Hasan11-Jul-06 2:51
Saifi Hasan11-Jul-06 2:51 
Questionsave image in database and show all images in control from database [modified] Pin
srinandan..10-Jul-06 19:52
srinandan..10-Jul-06 19:52 
AnswerRe: save image in database and show all images in control from database Pin
Paul Conrad25-Jul-06 9:23
professionalPaul Conrad25-Jul-06 9:23 
QuestionInsert comment in Excel sheet with Asp.net Pin
mhemant10-Jul-06 19:50
mhemant10-Jul-06 19:50 
QuestionDesign Question Pin
smarttom9910-Jul-06 18:25
smarttom9910-Jul-06 18:25 
AnswerRe: Design Question Pin
Paddy Boyd10-Jul-06 22:09
Paddy Boyd10-Jul-06 22:09 
QuestionWEBSITE MONITORING:REQUEST:URGENT PLZZZZZZ Pin
Devi C10-Jul-06 18:03
Devi C10-Jul-06 18:03 
QuestionVCalendar in C# Pin
B Desai10-Jul-06 12:59
B Desai10-Jul-06 12:59 
QuestionUnmangle DLL name in DotNetNuke Pin
wildfiction10-Jul-06 11:29
wildfiction10-Jul-06 11:29 
Question3D Dynamic Virtual Tour Pin
DaViL8310-Jul-06 9:37
DaViL8310-Jul-06 9:37 
AnswerRe: 3D Dynamic Virtual Tour Pin
DaViL8311-Jul-06 2:47
DaViL8311-Jul-06 2:47 
QuestionDrop down list not populating [modified] Pin
leckey10-Jul-06 9:35
leckey10-Jul-06 9:35 

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.