Click here to Skip to main content
16,005,473 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: error in filling the dataset Pin
Dave Kreskowiak21-Jan-10 17:35
mveDave Kreskowiak21-Jan-10 17:35 
GeneralRe: error in filling the dataset Pin
akosidandan21-Jan-10 22:57
akosidandan21-Jan-10 22:57 
AnswerRe: error in filling the dataset Pin
Som Shekhar21-Jan-10 19:43
Som Shekhar21-Jan-10 19:43 
GeneralRe: error in filling the dataset Pin
akosidandan21-Jan-10 21:42
akosidandan21-Jan-10 21:42 
GeneralRe: error in filling the dataset Pin
Som Shekhar21-Jan-10 22:02
Som Shekhar21-Jan-10 22:02 
GeneralRe: error in filling the dataset Pin
akosidandan21-Jan-10 22:59
akosidandan21-Jan-10 22:59 
GeneralRe: error in filling the dataset Pin
Som Shekhar21-Jan-10 23:03
Som Shekhar21-Jan-10 23:03 
GeneralRe: error in filling the dataset Pin
akosidandan21-Jan-10 23:17
akosidandan21-Jan-10 23:17 
Hello, sorry for reposting this
Thanks for the immediate response sir.
Now I know that Name/Names are not valid as variable names.
If would you mine sir I would like to ask how to add a new row
to my database then how to update the changes made into the database.
I have a code for adding a new row but still got error in updating it.
The Error is "Syntax error in INSERT INTO statement."


below here is my code:
<pre>da = New OleDb.OleDbDataAdapter(sql, con)
cb = New OleDb.OleDbCommandBuilder(da)
Dim newRow As DataRow
newRow = ds.Tables("employeeTable").NewRow
ds.Tables("employeeTable").Rows.Add(newRow)
newRow.Item("Position") = comboPosition.Text
newRow.Item("Last_Name") = txtLastName.Text
newRow.Item("First_Name") = txtFirstName.Text


da.Update(ds, "employeeTable")</pre>






Thanks,

dfan23
GeneralRe: error in filling the dataset Pin
Som Shekhar21-Jan-10 23:36
Som Shekhar21-Jan-10 23:36 
GeneralRe: error in filling the dataset Pin
akosidandan22-Jan-10 1:42
akosidandan22-Jan-10 1:42 
GeneralRe: error in filling the dataset Pin
Som Shekhar22-Jan-10 1:49
Som Shekhar22-Jan-10 1:49 
GeneralRe: error in filling the dataset Pin
akosidandan22-Jan-10 1:51
akosidandan22-Jan-10 1:51 
Question.NET Framework Error Reporting at runtime Pin
fdmaxey21-Jan-10 4:00
fdmaxey21-Jan-10 4:00 
AnswerRe: .NET Framework Error Reporting at runtime Pin
Som Shekhar21-Jan-10 4:06
Som Shekhar21-Jan-10 4:06 
GeneralRe: .NET Framework Error Reporting at runtime Pin
Not Active21-Jan-10 5:39
mentorNot Active21-Jan-10 5:39 
GeneralRe: .NET Framework Error Reporting at runtime Pin
Som Shekhar21-Jan-10 5:51
Som Shekhar21-Jan-10 5:51 
GeneralRe: .NET Framework Error Reporting at runtime Pin
fdmaxey24-Jan-10 5:05
fdmaxey24-Jan-10 5:05 
GeneralRe: .NET Framework Error Reporting at runtime Pin
Som Shekhar24-Jan-10 5:42
Som Shekhar24-Jan-10 5:42 
Questioncommunicating with Mainframe systems using .net architecture Pin
Prabhanand Nagarajan20-Jan-10 22:38
Prabhanand Nagarajan20-Jan-10 22:38 
AnswerRe: communicating with Mainframe systems using .net architecture Pin
Richard MacCutchan20-Jan-10 23:18
mveRichard MacCutchan20-Jan-10 23:18 
GeneralRe: communicating with Mainframe systems using .net architecture Pin
ddecoy21-Jan-10 5:06
ddecoy21-Jan-10 5:06 
QuestionScreenshot with windows service Pin
Stevie20-Jan-10 11:17
Stevie20-Jan-10 11:17 
AnswerRe: Screenshot with windows service Pin
Mark Salsbery20-Jan-10 21:12
Mark Salsbery20-Jan-10 21:12 
QuestionControl Customization via XML Pin
michael_jhons19-Jan-10 21:38
michael_jhons19-Jan-10 21:38 
AnswerRe: Control Customization via XML Pin
Estys20-Jan-10 0:06
Estys20-Jan-10 0:06 

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.