Solved

Pass data from vb to sql server per time interval

Posted on 2014-01-28
8
166 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 32

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
 

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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

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

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now