RE: VB.Net app send information via HTTP to SQL server
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Mon, 24 Mar 2008 01:14:24 GMT
Hi Jonathan,
From your description, you're going to write a client winform program thatwill send some data to a remote SQL Serve database hosted on a host
provider's server, correct?
Based on my understanding, since database server(such as SQL Server is
normally protected from directly internet access, especially for those high
restricted host providers), you may consider the following means to make
your application here:
** Instead of a winform app, why don't you add an additional page(like an
adminstrative page) in your existing ASP.NET web application and add
ADO.NET code in this page to query or update the backend database. Thus,
you can just access this administrative page directly rather than create
another winform application.
** Instead of web page, you can create a webservice in your ASP.NET
application and put the ADO.NET code which update database in the
webservice. And your local winform application can just call that
webservice to update database:
#ASP.NET 2.0 Web Services QuickStart Tutorial
http://quickstart.developerfusion.co.uk/quickstart/webservices/
#Build and Consume an ASP.NET Web Service
http://softwarecommunity.intel.com/articles/eng/2184.htm
How do you think? If you have any other particular concerns, please feel
free to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Jonathan" <none@xxxxxxxx>data
Subject: VB.Net app send information via HTTP to SQL server
Date: Mon, 24 Mar 2008 22:28:04 +1200
Hi
A want to write a new local VB.Net application. One of the features I want
it to have is to be able to send a few small pieces of information to my
website's backend SQL Server database hosted at GoDaddy.com. E.g.
Client Code: 456418
Amount: $455.98
Stock Number: 945482
I expect I'll just want to run an INSERT query statement to append this
to the financial transactions table.
How could I do this? I have programmed quite a bit in MSAccess, used
FrontPage to write ASP.NET but never with VB.Net Studio. I can download VS
Express VB.Net from MS.
.
- References:
- VB.Net app send information via HTTP to SQL server
- From: Jonathan
- VB.Net app send information via HTTP to SQL server
- Prev by Date: Querying AD using VB2005
- Next by Date: Re: Datatable / Dataset Save
- Previous by thread: Re: VB.Net app send information via HTTP to SQL server
- Next by thread: Re: VB.Net app send information via HTTP to SQL server
- Index(es):
Relevant Pages
|