On Fri, Mar 6, 2009 at 4:47 PM, David Boatright <[email protected]> wrote: > Has anyone managed to update a foxpro table from ASP.net. If so how > is the UPDATECOMMAND structured because the following does not seem > to work. > > UpdateCommand="UPDATE trips SET trips.pickup = @FROM WHERE > trips.id = @ID"> > <UpdateParameters> > <asp:Parameter Type="String" Name="PICKUP" /><asp:Parameter /> > <asp:Parameter Type="Int32 " Name="ID" /><asp:Parameter /> > </UpdateParameters> > </asp:SqlDataSource> --------------------------------------------------
You are using the SQLDataSource which will get you data out of foxpro. I updated the fox tables with direct SQL and not update params. I think it was because the updateparmas were not working with dbf tables. This was 2004, so it may be been a VS2003 issue as well. -- Stephen Russell Sr. Production Systems Programmer Web and Windows Development Independent Contractor Memphis TN 901.246-0159 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

