Computer Science Homework Solutions
Problem
#174496

Connecting to Database

The attached zip file is the database table that out teacher wants up to connect to. He wants us to name it electronics_inc.mdb.  I am working off another company's server, so I uploaded the file already. The data source is d:hometrynmybest.comdbelectronics_inc.  The provider is Provider=Microsoft.Jet.OLEDB.4.0. My assignment is below. Thank you

• Connect to a Microsoft Access Database (supplied)  
        via a connection string.
• The name of the database is Electronics_Inc.mdb
• Open a Recordset from the Product Table.
• Modify your order form to so that the user can select  
        from a list of products from a combo box.  
• You will populate the combo box (select) from the
        product table. This will replace the text box.
• You will modify each product line (4) on the order    
        form.  
• Once the products are selected, the rest of your
        application should work as it does now. Meaning, the
        user will still enter the price and the weight of the
        product in a text box.

I've included 2 more attachments.  The first one is the original form that he wants us to modify. The second one is the form that is called when the user clicks the submit button, but I'm confused on how to get the database in this equation. If someone could help me out with this one, I would be very grateful.  Thanks

Attached file(s):
Attachments
electronics_inc.zip  View File
assignment7.txt  View File
databaseconnection.txt  View File
Solution
What is this?
By OTA - Overall OTA Rating
Purchase Cost Now
$2.19 CAD (was ~$23.94)
Included in Download
  • Plain text response
  • Attached file(s):
    • ElectronicsInc.zip
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
  • ADO.NET - Advantages of Connecting Access to Other Programs - What is ADO.NET? What are its advantages and key components? How can ADO.NET be useful?
  • Adding a database to visual basic.net application - Attached is a application created in Visual Basic.Net 2005. However, I need to connect the information in the MS access file to the application in VB.Net. I need to see a snapshot of the 'FrmDatabas ...
  • ASP.NET application - Create an ASP.NET application using Visual Studio .NET 2003. Your application should includfe at least one web form and five different types of controls. Feel free to create more than one instance of ...
  • SOAP - Simple Object Access Potoccol. How is SOAP related to XML and HTTP? Assume that your readers are familiar with browsing the internet, but they have no technical knowledge of how it works behind the sc ...
  • Linda has been assigned the job of connecting five computers to a network. - Linda has been assigned the job of connecting five computers to a network. The room holding the five computers has three network ports that connect to a hub in an electrical closet down the hallway. L ...
Browse