Results 1 to 2 of 2

Thread: how to get selected value

  1. #1

    Thread Starter
    Fanatic Member karthikeyan's Avatar
    Join Date
    Oct 2005
    Location
    inside .net
    Posts
    919

    how to get selected value

    hi
    i have drop down list in mydatagrid. and i loaded my database values in that and if i select any value from that dropdownlist it has to be shown in my textbox

    i need coding to do this,becos i should get that value and have to use in next query, so tell me the coding
    Last edited by karthikeyan; Jun 27th, 2006 at 01:23 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to get selected value

    Use the datagrid's ItemCommand event. You can access that row's dropdown, get its selected value and set it to the textbox's text property.

Posting Permissions

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



Click Here to Expand Forum to Full Width