Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling Generic Parameters?
Message
De
11/09/2004 04:15:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Handling Generic Parameters?
Divers
Thread ID:
00941284
Message ID:
00941284
Vues:
55
Recently I was reading Calvin Hsai's weblog and came across his entry on how to put a web browser on a desktop:

http://weblogs.asp.net/calvin_hsia/archive/2004/08/20/217915.aspx

After reading that I made some modifications and now have a 2 page form where the first page contains a grid. Clicking on a row in a grid takes you to the 2nd page containing the web browser control. I can click on a text file in the grid and that appears in page 2, an XML file and that gets renered in page 2, a URL works (click on http://www.cnn.com/ in the grid and I see cnn.com's web page on page 2) and I have custom code that uses the XMLHTTP object to parse other web sites and display that in HTML.

Ok, now I want to have additional entries in the grid but with parameters to enter say the begin date and end date. Another entry may need a city, state and start value - that is different data types, with 0 - N parameters possible.

I can NOT use ASP for this example - just a VFP front end that will handle the entry and return HTML that I will create in a custom class. So the question is how do I best accomplish something like this? XML makes sense such that I can pass a single XML string but what about setting up a generic parameters form and the parsing that generic XML on the recieving side.

Hope this makes sense and someone has some suggestions.
Répondre
Fil
Voir

Click here to load this message in the networking platform