Click here to Skip to main content
15,914,390 members
Home / Discussions / C#
   

C#

 
AnswerRe: ADO.Net not saving to database Pin
kalyan_24167-Mar-07 0:58
kalyan_24167-Mar-07 0:58 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 1:25
JacquesDP7-Mar-07 1:25 
GeneralRe: ADO.Net not saving to database Pin
RedRummy7-Mar-07 3:18
RedRummy7-Mar-07 3:18 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 3:29
JacquesDP7-Mar-07 3:29 
AnswerRe: ADO.Net not saving to database Pin
baerten7-Mar-07 1:00
baerten7-Mar-07 1:00 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 1:30
JacquesDP7-Mar-07 1:30 
GeneralRe: ADO.Net not saving to database Pin
baerten7-Mar-07 1:43
baerten7-Mar-07 1:43 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 1:51
JacquesDP7-Mar-07 1:51 
Yes, I have it in a try catch and step it through, no errors, it updates the grid with the changes and all the new fields added, but not the database.

Here's the code to the update

private void productsBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
try
{
this.Validate();
this.productsBindingSource.EndEdit();
this.productsTableAdapter.Update(this.productsDataSet.Products);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString(), "Error");
}


He who laughs last is a bit on the slow side

GeneralRe: ADO.Net not saving to database Pin
baerten7-Mar-07 4:26
baerten7-Mar-07 4:26 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 21:59
JacquesDP7-Mar-07 21:59 
AnswerRe: ADO.Net not saving to database Pin
Mike Hankey7-Mar-07 7:28
mveMike Hankey7-Mar-07 7:28 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 22:01
JacquesDP7-Mar-07 22:01 
GeneralRe: ADO.Net not saving to database Pin
Mike Hankey8-Mar-07 1:38
mveMike Hankey8-Mar-07 1:38 
GeneralRe: ADO.Net not saving to database Pin
JacquesDP7-Mar-07 22:30
JacquesDP7-Mar-07 22:30 
QuestionThird Post but still having Problem Pin
Abubakarsb6-Mar-07 23:35
Abubakarsb6-Mar-07 23:35 
AnswerRe: Third Post but still having Problem Pin
Pete O'Hanlon7-Mar-07 2:54
mvePete O'Hanlon7-Mar-07 2:54 
Questioncustom control Pin
OlaMohammed6-Mar-07 22:44
OlaMohammed6-Mar-07 22:44 
AnswerRe: custom control Pin
PS@Codeproj6-Mar-07 23:19
PS@Codeproj6-Mar-07 23:19 
GeneralRe: custom control Pin
OlaMohammed7-Mar-07 21:49
OlaMohammed7-Mar-07 21:49 
QuestionSmartPanel Refresh Problem Pin
Alan Seedhouse6-Mar-07 22:18
professionalAlan Seedhouse6-Mar-07 22:18 
QuestionPassword to reach one form to another.Please help me.tq very much. Pin
krajah106-Mar-07 22:15
krajah106-Mar-07 22:15 
AnswerRe: Password to reach one form to another.Please help me.tq very much. Pin
Keshav V. Kamat6-Mar-07 22:46
Keshav V. Kamat6-Mar-07 22:46 
AnswerRe: Password to reach one form to another.Please help me.tq very much. Pin
PS@Codeproj6-Mar-07 23:05
PS@Codeproj6-Mar-07 23:05 
QuestionWindows RClick menu. Pin
Radu Sorin6-Mar-07 22:04
Radu Sorin6-Mar-07 22:04 
AnswerRe: Windows RClick menu. Pin
Stefan Troschuetz6-Mar-07 22:58
Stefan Troschuetz6-Mar-07 22:58 

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.