Results are out! Find what you need...fast. Get quick advice or join the chat
Hey there Sign in to join this conversationNew here? Join for free

Visual Studio 2010

Announcements Posted on
    • Thread Starter
    • 0 followers
    Offline

    ReputationRep:
    Hi could anyone offer any advice? i've created a visual studio website as part of my course done it all including coding but im stuck with one bit.

    basically ive got a Button2 on Default.aspx that i want to transfer all the items from ListBox1 to ListBox2 on a different page (basket.aspx)

    the only coding for this ive got so far is;

    Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
    Response.Redirect("basket.aspx")

    End Sub



    this basically only moves from Default.aspx to basket aspx :rolleyes:
    • 19 followers
    Offline

    ReputationRep:
    It's been a while since you posted and nobody's replied yet...maybe you should check out MarkedbyTeachers.com, TSR's sister site. It has the largest library of essays in the UK.

    They've got over 181,000+ coursework, essays, homeworks etc.. all written by GCSE, A Level, University and IB students across all topics. You get access either by publishing some of your own work, or paying £4.99 for a month's access. Both ways give you unlimited access to all of the essays.

    All their documents are submitted to Turnitin anti-plagiarism software, so it can't be misused, and the site's used by hundreds of thousands of UK teachers and students.

    What's more, you can take a look around the site and preview the work absolutely free. Click here to find out more...
    • 27 followers
    Offline

    ReputationRep:
    While I know very little asp(x), then if I was doing it in PHP, I would either use a form to submit from default to basket.aspx (HTML and PHP on the basket page), or if this wasn't an option or you can't do that is aspx, then the easiest way would be to get the values entered in ListBox1, and put it as a GET data in the URL (so your redirect reads Response.Redirect("basket.aspx?v alue1=x&value2=y&...&valuen=z")

Reply

Submit reply

Register

Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. By joining you agree to our Ts and Cs, privacy policy and site rules

  2. Slide to join now Processing…

Updated: April 23, 2012
New on TSR

Find out what year 11 is like

Going into year 11? Students who did it last year share what to expect.

Article updates
Reputation gems:
You get these gems as you gain rep from other members for making good contributions and giving helpful advice.