Database application using XML
- From: "Andy" <andy@xxxxxxxxx>
- Date: Thu, 16 Aug 2007 17:17:46 -0400
I am using TacHTTP and/or TMS TWebPost components to communicate with a SQL Server/IIS via ASP. Right now, I am doing very basic transfer of data and the workhorse is actually in the ASP itself. Now, I am challenged with larger transfer of data such as a resultset of a database query. How do I configure SQL Server, ASP and Delphi to work in XML? Basically, like the following:
- Delphi runs 'SearchRecords.asp' using the TacHTTP/TWebPost component by a defined URL
- ASP queries the SQL Server and gets a resultset in XML
- Delphi gets the response or result of 'SearchRecords.asp' in XML and uses a component to parse the data
- Data then get displayed in a grid
- Delphi runs 'AddRecord.asp' or 'UpdateRecord.asp' using the TacHTTP/TWebPost component by a defined URL using POST fields or maybe XML string
- ASP add or update the database using the POST or XML string
My tasks are as follows:
- how to set up SQL Server and get a working ASP example on how to retrieve, update, etc. a SQL Server database using XML
- what component to use in Delphi to parse XML efficiently in a database mindset
I would appreciate any suggestions or recommendations if someone has already achieve something like this. I thank you greatly in advance.
Andy
.
- Prev by Date: Re: AsyncCalls 1.1 - asyncron function calls
- Next by Date: Re: Is ComponentAce still in the business?
- Previous by thread: Re: SDK/Components for Pan/Tilt/Network camera wanted
- Next by thread: SubDocuments.Add OleContainer
- Index(es):
Relevant Pages
|