Solved

Pass data from vb to sql server per time interval

Posted on 2014-01-28
8
168 Views
Last Modified: 2014-02-06
Is it possible to pass data from vb 2010 express to an sql server 2008 database in time intervals, say every 10s?

Thanks for the help
0
Comment
Question by:SweetingA
  • 5
  • 2
8 Comments
 
LVL 18

Accepted Solution

by:
x-men earned 500 total points
ID: 39814710
yes, create connection to the SQL Database on your project.
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39815169
what data are you looking to pass? is the "vb2010 express" some kind of web app, desktop app, or script? are you looking to have some kind of input form and save it to the database?

more details please
0
 

Author Comment

by:SweetingA
ID: 39816266
yes it will be in script

i will pass data from a form into an sql table

thanks
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:SweetingA
ID: 39816267
i know how to send data, i just don;t know how to do it every 10 seconds
0
 

Author Comment

by:SweetingA
ID: 39816278
oh forgot to mention i need to send the date/time stamp with it
0
 
LVL 33

Expert Comment

by:Big Monty
ID: 39816287
without seeing what you have already, it's difficult to figure out what you're doing. is this an ajax request being sent to the server every 10 seconds? please explain a bit more what you're attempting to do
0
 

Author Comment

by:SweetingA
ID: 39816391
I have managed to do it using a timer but i have to use the varchar format to get it to work, is there a way to pass it as a datetime format....

Label9.Text = DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss")

I simply set the timer click to 10000 and use the on click event of the timer
0
 

Author Closing Comment

by:SweetingA
ID: 39838970
It was correct but no detail how to achieve
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question