473,811 Members | 3,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to link a database into vb studio 2008 to create an order form?

4 New Member
To All,

I have created a 'quantity' form to be displayed when an image of a dish (from my menu) is hovered over:

Expand|Select|Wrap|Line Numbers
  1. quantity.Show()
  2.  
I am now trying to code the 'quantity' listbox function to store '1,2,3..' and program the prices from the database into each dish. When 'ok' is clicked on the 'quantity' form it should also automatically updates the 'total' textbox.

I think I should create an array for the prices, dish ids and dish names however I'm not sure how to code this.

I have also created a dataset called 'FortunatedbDat aSet'.

I have attached a few screenshots of the interface to make the problem clearer.

Thanks for your help.
Attached Images
File Type: jpg siobhan.quantitydialoguebox.jpg (34.6 KB, 77 views)
File Type: jpg siobhan-menu code.jpg (78.3 KB, 119 views)
File Type: jpg siobhan-menu(order) page.jpg (106.2 KB, 99 views)
Feb 11 '11 #1
0 1206

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

Similar topics

7
1786
by: Phill Emery | last post by:
hi can anyone please help me? Im new to visual studio 2003 and im trying to create a program in visual basic. The problem is i have put a menu bar onto the first form, and have created some other forms but cannot find any options to point from the menu to any of the other forms i have created. can anyone help me, as i would be very greatful
0
1783
by: fiona | last post by:
Reading, Berkshire, UK 05 June 2007 - Crainiate Software make details available of the release of Objecto Framework 2.0, an upgrade to their enterprise business component framework, designed to make it easy for programmers to create agile persisted business objects that are reusable, customisable and scalable, without additional developer tools. Objecto uses object persistence and managed database technology to allow developers to...
58
3245
by: Jon Skeet [C# MVP] | last post by:
Just in case people had missed it, Visual Studio 2008 is now available for download for MSDN subscribers, and the Express editions are also out: http://www.microsoft.com/express/download/ -- Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet World class .NET training in the UK: http://iterativetraining.co.uk
4
1262
by: =?iso-8859-1?Q?Vicente_Garc=EDa?= | last post by:
Hi all, I have a great problem. I have been installed Visual Studio 2008 Professional on two computers. One works perfectly. On the other computer I don't know what happens when I click on FILE --NEW --WEB SITE because Visual Studio does nothing. It makes me not case! The same thing happens if I create a blank solution and attempt to add a WEB SITE. Other Visual Studio 2008 functionalities in principle works well. What could happen?
8
5628
by: kcroyals1 | last post by:
Is anyone having the problem where Visual Studio 2008 hangs for minutes when switching to Design view of an aspx page? I know there's a hotfix, but it has been no help. My co-worker might have hit on something that it is related to Office 2007. This is because we have VS2008 at home with no problems, but we use Office 2003. A co-worker of ours has the same setup (Office 2003 and VS2008) and has no problems. I know Microsoft knows it's...
0
945
by: Andy B | last post by:
When I ran the asp.net admin tool to setup web application settings, I get the following notice when I went to profile and chose to use a single provider for all features: "The provider wasn't created". To reproduce: 1. In Visual Studio 2008, create a new web application. 2. Add a web.config file if one doesn't already exist. 3. In the <ConnectionStringselement, add a valid working connection string. Mine works but is left out for...
6
4900
by: Miro | last post by:
I can run an exe ( and its install ) i have created on my machine. The exe has a button that populates a dataset and then shoots it to a crystal report. But... Installing the setup.exe on my other pc, and running it I get an error. The Dataset loads properly, but when the button is pushed to view the report I get this error: ************** Exception Text **************
4
3320
by: Miro | last post by:
<i have also added this reply to the other newsgroup - now that I have realizd ( and assuming ) it is not a localized error directly to vb.> I have found this link on the website: https://www.sdn.sap.com/irj/sdn/businessobjects-downloads ..NET Utility CR 2008 Merge Modules for the .NET Framework ZIP 74.716 Windows English 12.03.2008 and it states:
4
2326
by: beauwlf | last post by:
Hi Group I am testing out Visual Studio 2008 Eval.. i tried to recompile my MFC C++ Visual Studio 6.0 EXE project . I get these link errors. I can say these errors are linked to EXE function calls to MFC DLL with CString as parameter. Error 383 error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall CViDlgModLink::SetDataAText(int,int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class...
6
4327
by: Palehorse | last post by:
I'd like to apologize upfront for me saying "I'm not a programer", I'm sure you all hear this a hundred times a day. Unfortunately, in this case, it's true. I've been working on trying to figure out a particular problem I've had for years and now I find I need to get it situated as soon as possible. So I turn to you kind folks, the experts, to give me a little hand holding, guidance and wisdom as to how to accomplish what it is I'm trying to do....
0
9726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10384
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7667
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6887
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4338
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.