Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem saving records from dataset to interbase

Status
Not open for further replies.

AndyKing

Programmer
Aug 31, 2006
1
0
0
GB
Help - When I try to update records to an IB table from my asp.net
application - nothing happens.
If I try the same thing with a winforms app, then it works. I created 2
more or less identical apps - the only difference is that one is winforms,
and the other asp.net. Both have a datagrid, data source, bdpdataAdapter
and bdpConnection. Both apps allow you to edit the datagrid and both have
an update button. The code in the update button is as follows for both apps
.....

bdpDataAdapter1.AutoUpdate();
dataSet1.AcceptChanges();

..... Both apps use the same database connection - and both apps populate
the datagrid with existing records, just the asp refuses to update the
database with modifications or additions.

There must be a reason for this - is there anything you have to do in
addition to an asp.net app to get it to commit records ? Do I have to use
extra components ? I arent running both apps at the same time. I only
wrote the winforms test to prove I could get it to work somewhere.

Thanks in Advance - Andy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top