Click here to Skip to main content
15,902,445 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHOw to pass parameters to a sub called by a thread Pin
sabby200625-May-07 21:30
sabby200625-May-07 21:30 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa25-May-07 23:21
Guffa25-May-07 23:21 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200627-May-07 19:57
sabby200627-May-07 19:57 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa27-May-07 21:27
Guffa27-May-07 21:27 
GeneralRe: HOw to pass parameters to a sub called by a thread Pin
sabby200628-May-07 0:28
sabby200628-May-07 0:28 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Guffa28-May-07 7:55
Guffa28-May-07 7:55 
AnswerRe: HOw to pass parameters to a sub called by a thread Pin
Dave Herren26-May-07 12:46
Dave Herren26-May-07 12:46 
QuestionRegarding updation in Datagrid-----Urgently Pin
venkata lakshmi prasanna25-May-07 21:18
venkata lakshmi prasanna25-May-07 21:18 
Iam new to VB.Net2005.
In the Form Load Event Iam Displaying Data into Datagridviewand I have written a code for Double-click event which is going to disply the data in the relevent textboxes from datagridview.
After Displaying I want to modify the Data and updating it into the Database.
For this I have written the code as:

ds.Tables("emp_details").Rows(n).Item(1) = txtsurname.Text ds.Tables("emp_details").Rows(n).Item(2) = txtname.Text
ds.Tables("emp_details").Rows(n).Item(3) = txtdesg.Text
ds.Tables("emp_details").Rows(n).Item(4) = txtplace.Text
ds.Tables("emp_details").Rows(n).Item(5) = txteligamt.Text
ds.Tables("emp_details").Rows(n).Item(6) = txtfno.Text
ds.Tables("emp_details").Rows(n).Item(7) = txtyear.Text
da.Update(ds.Tables("emp_details"))
But Iam getting the error as :
"Update requires a valid updatecommand when passed Datarow collection with modified rows".

Please suggest me correct code for this updation urgently
ThanX in advance
QuestionRe: Regarding updation in Datagrid-----Urgently Pin
Sonia Gupta25-May-07 21:24
Sonia Gupta25-May-07 21:24 
AnswerRe: Regarding updation in Datagrid-----Urgently Pin
venkata lakshmi prasanna25-May-07 21:32
venkata lakshmi prasanna25-May-07 21:32 
GeneralRe: Regarding updation in Datagrid-----Urgently Pin
Sonia Gupta25-May-07 21:44
Sonia Gupta25-May-07 21:44 
AnswerRe: Regarding updation in Datagrid-----Urgently Pin
Dave Kreskowiak27-May-07 4:07
mveDave Kreskowiak27-May-07 4:07 
QuestionWindows Pin
Sonia Gupta25-May-07 18:15
Sonia Gupta25-May-07 18:15 
AnswerRe: Windows Pin
Dave Kreskowiak26-May-07 6:32
mveDave Kreskowiak26-May-07 6:32 
QuestionHow to read/edit an Outlook .pst file? Pin
rock-n-glock25-May-07 17:03
rock-n-glock25-May-07 17:03 
AnswerRe: How to read/edit an Outlook .pst file? Pin
Dave Kreskowiak27-May-07 3:59
mveDave Kreskowiak27-May-07 3:59 
AnswerRe: How to read/edit an Outlook .pst file? Pin
vijay_Integra19-Jul-07 18:21
vijay_Integra19-Jul-07 18:21 
AnswerRe: Send an OLE object Pin
Dave Kreskowiak27-May-07 7:08
mveDave Kreskowiak27-May-07 7:08 
AnswerRe: HELP!!! Pin
Christian Graus25-May-07 9:42
protectorChristian Graus25-May-07 9:42 
GeneralRe: HELP!!! Pin
Colin Angus Mackay26-May-07 5:45
Colin Angus Mackay26-May-07 5:45 
QuestionHow to play dvd movie with VB.net application? Pin
Prince Tanveer Farman25-May-07 8:56
Prince Tanveer Farman25-May-07 8:56 
AnswerRe: How to play dvd movie with VB.net application? Pin
Christian Graus25-May-07 9:42
protectorChristian Graus25-May-07 9:42 
Questioncan i install mpeg2 codecs programatically in VB.net application? if yes how Pin
Prince Tanveer Farman26-May-07 21:53
Prince Tanveer Farman26-May-07 21:53 
AnswerRe: can i install mpeg2 codecs programatically in VB.net application? if yes how Pin
Dave Kreskowiak27-May-07 4:02
mveDave Kreskowiak27-May-07 4:02 
QuestionHelp Creating Undo/Redo Class Pin
Richard Blythe25-May-07 6:54
Richard Blythe25-May-07 6:54 

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.