RE: VB.Net app send information via HTTP to SQL server



Hi Jonathan,

From your description, you're going to write a client winform program that
will 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>
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
data
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.





.



Relevant Pages

  • RE: Moving from Jet to SQL Everywhere (compact edition)
    ... SQL Server's database's structure is different from that Jet database. ... SQL Server database has much advance database feature that the Jet ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vc.database)
  • RE: GridView RowEditing Requery question
    ... Gridview is always retrieved from database directly? ... the calling side always get the cached resultset. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: GridView RowEditing Requery question
    ... Gridview is always retrieved from database directly? ... ** Implement local cache in your ASP.NET application(for the data access ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: query-based update failed
    ... Could you please clarify a bit more on what you mean by "checking each record in your recordset to see if it is in your database table at that time"? ... Look forward to your response. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.sqlserver.odbc)
  • Re: VS2008 DBE (GDR)
    ... target database, which already has data in some lookup tables. ... Microsoft Online Community Support ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.vsnet.general)