From: Janusz M <januszms.usunto.@usunto.interia.pl> - 2004-01-19 22:21:53
|
Hi, I have added to this form I have send to you a textbox control and a button control. I have bound the textbox to the datasource and to the field Field1. On button click I update the datatable. The code is private: System::Void button1_Click(System::Object * sender, System::EventArgs * e) { try { dataSet1->Tables->Item[S"table_test"]->Rows->Item[0]->EndEdit() ; fbDataAdapter1->Update(dataSet1->Tables->Item[S"table_test"]); }catch(Exception * e ){ MessageBox::Show(e->Message); } } All works OK but when I have filled the textbox with the invalid characters, for example instead of a number ( field Field1 is integer ) I have written non number string 'abc', after call fbDataAdapter1->Update the programm hangs. Should it be exception "Invalid format ...". Sorry for my english. regards, Janusz Uzytkownik "Carlos Guzmán Álvarez" <car...@te...> napisal w wiadomosci news:400...@te...... > Hello: > > > My test case > > I will try to take a look at it soon, thanks > > > > > -- > Best regards > > Carlos Guzmán Álvarez > Vigo-Spain > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Firebird-net-provider mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider > |