.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 30th, 2003, 09:41 PM
mkettlewell mkettlewell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 mkettlewell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How do I convert this ASP code snippet to ASP.NET?

What would be the best way to convert the following ASP code to ASP.NET?<br><br>'Create XMLHTTP Object<br>set xml = Server.CreateObject("Microsoft.XMLHTTP")<br>xml.open "POST", "https://secure.authorize.net/gateway/transact.dll?" _<br> & data & "", false<br>xml.send ""<br>Status = xml.Status<br>Val = xml.responseText<br>set xml = nothing

Reply With Quote
  #2  
Old July 5th, 2003, 03:43 AM
Andrew Andrew is offline
dotNetBB Forums Developer
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 265 Andrew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to Andrew Send a message via AIM to Andrew Send a message via Yahoo to Andrew
(bah stupid vBulletin doesn't like the URL value)

Here it is as text instead of a link since vBulletin kept injecting additional code into the URL.

http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/howto/samples/net/WebRequests/clientPOST.src
__________________
Building a better community one post at a time.
dotNetBB Forums

Last edited by Andrew : July 5th, 2003 at 03:48 AM.

Reply With Quote
  #3  
Old July 5th, 2003, 03:49 AM
Andrew Andrew is offline
dotNetBB Forums Developer
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 265 Andrew User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to Andrew Send a message via AIM to Andrew Send a message via Yahoo to Andrew
BTW... My dotNetBB Forums don't have that same problem understanding long links like that. ;-)

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > How do I convert this ASP code snippet to ASP.NET?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT