datalist to textbox

Results 1 to 2 of 2

Thread: datalist to textbox

  1. #1
    Join Date
    Dec 1969

    Default datalist to textbox

    I am looking for code that will do something like textbox1.text = textbox2.text, but get the results from a datalist i.e. textbox1.text = datalist1.xxxxx<BR>I am new at this so bear with me!!

  2. #2
    Join Date
    Dec 1969

    Default RE: datalist to textbox

    Have you try to use the event of ItemCommand to asign any properties to your control ?<BR><BR>if e.CommandName = "NameOfTheControl" then<BR>CType(e.Item.FindControl("NameOfTheControl YouLookFor"), TextBox).Text = "WhatEverGoesHereToDisplay"<BR>end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts