Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 30th, 2003, 04:09 PM
Authorized User
 
Join Date: Jul 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nvillare
Default HELP! How do I insert info. to a database?

I am working on a project and am trying to gather IP packet informtion and put it into an access database. How do I do this using vb.net? I am trying to have the code check how many times an IP address is hit. A counter will be incremented and the IP address will be sent to the database. Does anyone have any ideas?? ANy help is greatly appreciated!!

Thanks!

nvillare
__________________
Thanks!

N
 
Old December 1st, 2003, 11:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jlick
Default

Are you trying to get help on what your DB schema should look like, or how to use ADO.NET?



John R Lick
JohnRLick@hotmail.com
 
Old December 2nd, 2003, 01:27 PM
Authorized User
 
Join Date: Jul 2003
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nvillare
Default

It is a web services. Would this question not be addressed in this section?

Thanks!

nvillare
 
Old December 2nd, 2003, 01:43 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is a duplicate of another thread.

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old December 2nd, 2003, 01:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jlick
Default

You have not asked a specific enough question. I am assuming that this is because you do not know where to start.

Based on your subject, I am assuming that your issue is with writing the data to the database, not determining when the IP address is hit.

1) You should have one or more tables that will store the information. If you don't have this already, then you need to talk to your DBA to help design it. If you don't have a DBA, then you need to do this yourself. There are many books on how to design databases. You should plan on finding out how/why/when the data will be used, and take that into account.

2) You need to use ADO.NET to communicate with the database. If you are not familiar with ADO.NET, I recommend getting a book that talks about it. Most Beginning/Professional VB.NET books will have a chapter about it. There are also books devoted to the topic of ADO.NET from VB.NET. I would expect that the beginning/professional VB.NET books would give enough information for what you want to do. They typically also have a chapter or two on web services.



John R Lick
JohnRLick@hotmail.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve Info from Database miniskirt Classic ASP Basics 0 November 2nd, 2006 04:35 AM
INSERT info into a Access database for display sideshow245 Classic ASP Databases 2 January 7th, 2004 04:25 PM
Getting info from database -between dates doranaz Classic ASP Databases 2 December 23rd, 2003 01:02 AM
Deleting info from Database... jasmine5544 Classic ASP Databases 1 December 2nd, 2003 03:43 PM
HELP! How do I insert info. to a database? nvillare VB Databases Basics 0 November 30th, 2003 04:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.