473,404 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

beginner's query

hi!

im creating a sort of login logout software for a school project.
my prof told us to use a barcode reader and write the code in VB.net

this is what i have so far...

ive created a panel where the personal info of the user will be displayed and a separate panel to show the existing accounts that have been logged in..
the accounts that have been logged in is stored in a MYSQL database and shown using listview and stored in a DATASET

my problem is that i dont know how to insert the new data that had been scanned into the dataset... pls help
Sep 26 '07 #1
4 856
Shashi Sadasivan
1,435 Expert 1GB
have you tried the newRow and addRow methods of the Dataset?

cheers
Sep 26 '07 #2
have you tried the newRow and addRow methods of the Dataset?

cheers
oh.. tnx.. im really new at this and i dont have the time to read the book..:)
my prof is expecting us to turn this in by the end of the week.

uhmm will it display immediately on the listview ive created?? if not, how will i update it??


another questiion: uhm how does the addRow work exactly??
how bout if i onlw want to update the row??
pls bear with me:) tnx
Sep 26 '07 #3
Shashi Sadasivan
1,435 Expert 1GB
the new row generally returns a row of the same schema.
And after you make your changes use the addrow to add the newly created row to the dataset.

If you want to update an existing row, iterate through your dataset and update the necessary fields.
and the dataset.update method generally does the magic.
but since you are using mysql, you would have written your own update statements.

cheers.
Sep 26 '07 #4
the new row generally returns a row of the same schema.
And after you make your changes use the addrow to add the newly created row to the dataset.

If you want to update an existing row, iterate through your dataset and update the necessary fields.
and the dataset.update method generally does the magic.
but since you are using mysql, you would have written your own update statements.

cheers.
tnx again:) ive downloaded MYSQL/NET connector from the mysql site and installed it... ive been using the methods provided by them to handle queries to the dbase:)
Sep 26 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Art | last post by:
NEWBIE ALERT! Esteemed List Participants and Lurkers: (System: P-II 350, 192 meg, Win98 SE, Python 2.2.3, wxPythonWIN32-2.4.1.2-Py22.exe) I'm having a lot of fun getting started with Python...
1
by: Hought, Todd | last post by:
Hi all, trying to run a query against a table, to pull the date out, and order it. problem is, the date is stored in character (string) format, not as an actual timestamp, so parsing it back into...
1
by: asif | last post by:
hello all, i'm a beginner to access and i'm having trouble with autonumbers. basically i have a list of restaraunts in a table. they are sorted ascending by autonumber (1 to 283) although i...
3
by: Rodney Garland | last post by:
Hi All, I am a relative beginner to Python and am looking for help with sending and XML message and getting back a return file. The server is: https://node.deq.state.or.us/node/node.asmx I...
1
by: giovannino | last post by:
Dear all, I did a query which update a sequence number (column NR_SEQUENZA) in a table using a nice code (from Trevor !). 1) Given that I'm not a programmer I can't understand why...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.