Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
Questionloop controls one by one Pin
DEEPNORTH22-Dec-08 1:18
DEEPNORTH22-Dec-08 1:18 
AnswerRe: loop controls one by one Pin
Ravi Bhavnani22-Dec-08 1:33
professionalRavi Bhavnani22-Dec-08 1:33 
GeneralRe: loop controls one by one Pin
DEEPNORTH22-Dec-08 15:20
DEEPNORTH22-Dec-08 15:20 
AnswerRe: loop controls one by one Pin
User 665822-Dec-08 1:40
User 665822-Dec-08 1:40 
AnswerRe: loop controls one by one Pin
nishu00727-Dec-08 2:49
professionalnishu00727-Dec-08 2:49 
Questionover a $1000 to be won in coding competition Pin
sanj_8038822-Dec-08 1:08
sanj_8038822-Dec-08 1:08 
AnswerRe: over a $1000 to be won in coding competition Pin
Brij22-Dec-08 1:52
mentorBrij22-Dec-08 1:52 
QuestionUpdate database from DataGridView? Pin
kbalias22-Dec-08 1:03
kbalias22-Dec-08 1:03 
Hi
I am using C# and Visual Studio 2005 to develop a Windows Application. I use the designer to bind a DataGridView to a table in a MS Access database.

When I use the designer the following code is automatically generated in the Form_Load method:

// TODO: This line of code loads data into the 'patientStatusDataSet2.bv_Patients' table. You can move, or remove it, as needed.
this.procPatientList_AllInfoTableAdapter.Fill(this.patientStatusDataSet.procPatientList_AllInfo);


I try to update the database when changes have been made to the data in the DataGridView, but cannot find what to use or how to do it. In the past I used to write my own code and could do updates. I am trying now to learn about the built-in functionality, but I am struggling.

Neither procPatientList_AllInfoTableAdapter nor patientStatusDataSet has any Update methods.

Any assistance will be appreciated.

Thanks.

Kobus
AnswerRe: Update database from DataGridView? Pin
vlinker22-Dec-08 2:20
vlinker22-Dec-08 2:20 
AnswerRe: Update database from DataGridView? Pin
Vimalsoft(Pty) Ltd23-Dec-08 2:25
professionalVimalsoft(Pty) Ltd23-Dec-08 2:25 
Questionmerge two images in a single picturebox Pin
jaraldumary22-Dec-08 0:43
jaraldumary22-Dec-08 0:43 
RantRe: merge two images in a single picturebox Pin
Smithers-Jones22-Dec-08 2:38
Smithers-Jones22-Dec-08 2:38 
AnswerRe: merge two images in a single picturebox Pin
Dave Kreskowiak22-Dec-08 4:25
mveDave Kreskowiak22-Dec-08 4:25 
QuestionHow to set the Pagesettings in Reportviwer Pin
Exelioindia22-Dec-08 0:25
Exelioindia22-Dec-08 0:25 
Answersample code Pin
jaraldumary22-Dec-08 0:47
jaraldumary22-Dec-08 0:47 
AnswerRe: How to set the Pagesettings in Reportviwer Pin
Tom Deketelaere22-Dec-08 1:19
professionalTom Deketelaere22-Dec-08 1:19 
GeneralRe: How to set the Pagesettings in Reportviwer Pin
Exelioindia22-Dec-08 1:53
Exelioindia22-Dec-08 1:53 
GeneralRe: How to set the Pagesettings in Reportviwer Pin
Tom Deketelaere22-Dec-08 2:43
professionalTom Deketelaere22-Dec-08 2:43 
QuestionSocket Connections Pin
Rick van Woudenberg22-Dec-08 0:02
Rick van Woudenberg22-Dec-08 0:02 
AnswerRe: Socket Connections Pin
Mark Salsbery22-Dec-08 7:52
Mark Salsbery22-Dec-08 7:52 
QuestionRuntime Report Formating.... Pin
zeeShan anSari21-Dec-08 23:40
zeeShan anSari21-Dec-08 23:40 
QuestionMark field in child class as NonSerialized Pin
Dust Signs21-Dec-08 23:34
Dust Signs21-Dec-08 23:34 
AnswerRe: Mark field in child class as NonSerialized Pin
deyaert21-Dec-08 23:42
deyaert21-Dec-08 23:42 
GeneralRe: Mark field in child class as NonSerialized Pin
Dust Signs21-Dec-08 23:51
Dust Signs21-Dec-08 23:51 
GeneralRe: Mark field in child class as NonSerialized Pin
deyaert22-Dec-08 0:31
deyaert22-Dec-08 0:31 

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.