Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8873507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:28:56+00:00 2026-06-14T18:28:56+00:00

I have been given the task to create a shop website that allows users

  • 0

I have been given the task to create a shop website that allows users to look at DVDs that are available in a shop page and then when they click on one they will be taken to a details page which will give more information dynamically about the DVD. I also have been given a c# file which contains a class called DVD.
I have so far got the webpages which I made in ASP.NET and that was easy enough to pull everything from the database and it all works fine but that has nothing to do with the DVD.cs file.

Am I missing something obvious? I have to use this file which I will post below :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DVDs
{
class DVD
{
    public string Title
    {
        get;
        set;
    }

    public int Price
    {
        get;
        set;
    }

    public int YearReleased
    {
        get;
        set;
    }


    public string Desc
    {
        get;
        set;
    }

    public DVD(string title, int price, int yearReleased, string desc)
    {
        Title = title;
        Price = price;
        YearReleased = yearReleased;
        Desc = desc;

    }

    protected bool Save()
    {
        //add code to save to the database
        return true;
    }

    protected bool Load()
    {
        //add code to load from the database
        return true;
    }
}
}

Can someone please explain how I use these variables to link between the database and the .aspx file?

All help would be appreciated thanks

EDIT: Code tried so far

protected override void OnLoad(EventArgs e)
{
    base.OnLoad(e);
    if (this.IsPostBack)
    {
        PageAsyncTask pat = new PageAsyncTask(BeginAsync, EndAsync, null, null, true);
        RegisterAsyncTask(pat);
    }
}

private IAsyncResult BeginAsync(object sender, EventArgs e, AsyncCallback cb, object state)
{
    DVD dvd = new DVD();
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:28:57+00:00Added an answer on June 14, 2026 at 6:28 pm

    either make it with MVC as it is already told or take a look at ASP.Net binding to link your DVD object to the UI.

    This could be a good starting point: http://support.microsoft.com/kb/307860

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been given a task to create a Python file that will take
I have been given the task of devising a custom forms manager that has
I have been given a task to write a program to automatically create a
I have been given the task to create an online (client-side) implementation of a
I've been given a task where I have to create a parser for a
I have been given a task to create a bridge between C# and Java.
I have been given a task to create a code for. The task is
The odd task that I have been given is to serialize a LARGE object
I have been given the task of adding functionality to an existing IIS 6.0
I have been given the task to design a database to store a lot

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.