Click here to Skip to main content
15,887,262 members
Home / Discussions / Database
   

Database

 
QuestionDatabase 'foodmart 2000' does not exist Pin
kuldeep_kumar27-Oct-05 5:25
kuldeep_kumar27-Oct-05 5:25 
QuestionDynamic procedures, are they possible? Pin
FruitBatInShades27-Oct-05 3:59
FruitBatInShades27-Oct-05 3:59 
AnswerRe: Dynamic procedures, are they possible? Pin
Colin Angus Mackay27-Oct-05 6:31
Colin Angus Mackay27-Oct-05 6:31 
AnswerRe: Dynamic procedures, are they possible? Pin
codet28-Oct-05 16:28
codet28-Oct-05 16:28 
QuestionProblems inserting data in database with datagrid Pin
wappi_berlin27-Oct-05 1:44
wappi_berlin27-Oct-05 1:44 
QuestionExcluding some fields from a table in a datagrid Pin
odrap26-Oct-05 0:24
odrap26-Oct-05 0:24 
AnswerRe: Excluding some fields from a table in a datagrid Pin
Edbert P26-Oct-05 12:50
Edbert P26-Oct-05 12:50 
QuestionInsert Data via Stored procedure by ado.net Pin
thedom225-Oct-05 23:33
thedom225-Oct-05 23:33 
Hi All

I am going mental trying to insert some data from a webform thru ado.net by use of a sproc.

Heres my code:

dim sqlConn as new sqlConnection(data......)
dim sqlda as new sqldataadapter("storedprocedure", sqlconn)
dim sqlds as new dataset

sqlda.insertcommand.commandtype=commandtype.storedprocedure
sqlda.insertcommand.parameters.add("@EmpId", control.text)

sqlda.Insertcommand.executenonquery()
sqlconn.close()

---------------->
The code compiles with no errors I run the project seems like it does something but does not write to the database. I have verified the stored procedure works via query analyser so I tried google but amazingly there is not alot..

Please help me im in programmer hell..
Thanks

-- modified at 5:47 Wednesday 26th October, 2005
AnswerRe: Insert Data via Stored procedure by ado.net Pin
Edbert P26-Oct-05 12:52
Edbert P26-Oct-05 12:52 
GeneralRe: Insert Data via Stored procedure by ado.net Pin
thedom226-Oct-05 13:16
thedom226-Oct-05 13:16 
QuestionCreating a Microsoft Acces "Module" in a MDB-file by Code from C++ Pin
Uwe Keim25-Oct-05 20:08
sitebuilderUwe Keim25-Oct-05 20:08 
AnswerRe: Creating a Microsoft Acces "Module" in a MDB-file by Code from C++ Pin
Uwe Keim25-Oct-05 20:33
sitebuilderUwe Keim25-Oct-05 20:33 
QuestionQuery Tables Fiels name and type Pin
icDavid25-Oct-05 13:12
icDavid25-Oct-05 13:12 
AnswerRe: Query Tables Fiels name and type Pin
icDavid25-Oct-05 14:27
icDavid25-Oct-05 14:27 
AnswerRe: Query Tables Fiels name and type Pin
Farhan Noor Qureshi25-Oct-05 17:59
Farhan Noor Qureshi25-Oct-05 17:59 
QuestionAggregate queries and functions Pin
mjackson1125-Oct-05 10:53
mjackson1125-Oct-05 10:53 
AnswerRe: Aggregate queries and functions Pin
Farhan Noor Qureshi25-Oct-05 12:38
Farhan Noor Qureshi25-Oct-05 12:38 
GeneralRe: Aggregate queries and functions Pin
mjackson1125-Oct-05 18:25
mjackson1125-Oct-05 18:25 
GeneralRe: Aggregate queries and functions Pin
Farhan Noor Qureshi26-Oct-05 11:35
Farhan Noor Qureshi26-Oct-05 11:35 
QuestionHiiSQL Server Database Name Pin
utsav_verma24-Oct-05 19:48
utsav_verma24-Oct-05 19:48 
AnswerRe: HiiSQL Server Database Name Pin
Colin Angus Mackay24-Oct-05 20:13
Colin Angus Mackay24-Oct-05 20:13 
Questionraw_Open Pin
Karim Shehadeh24-Oct-05 11:03
Karim Shehadeh24-Oct-05 11:03 
QuestionLast unique inserted row Pin
Anonymous24-Oct-05 1:14
Anonymous24-Oct-05 1:14 
AnswerRe: Last unique inserted row Pin
miah alom24-Oct-05 4:50
miah alom24-Oct-05 4:50 
AnswerRe: Last unique inserted row Pin
toxcct25-Oct-05 0:24
toxcct25-Oct-05 0:24 

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.