Results 1 to 5 of 5

Thread: Update Using Data Repeaer

  1. #1

    Thread Starter
    Junior Member Milouvr3's Avatar
    Join Date
    Aug 2007
    Location
    /etc
    Posts
    27

    Update Using Data Repeaer

    Peace All

    i'm using a data repeater to update my sqldatabase

    the problem i'm facing is that i can't export data from the data repeater to fill it in database with the update command

    so how can i get the data from textboxes and dropdownlists

  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: Update Using Data Repeaer

    If you have an update button in each row of your repeater, you'd handle the ItemCommand event. If it's a single update button on the page, you would loop through all the items in the data repeater, and run and update for each row. You could add a bit of sophistication by checking to see whether the value has actually changed (storing it in a hidden field for example).

    I think the best way would be for you to have a look at a few of the ways that people have implemented using a repeater control.

    http://www.asp101.com/articles/lee/m...te/default.asp

  3. #3

    Thread Starter
    Junior Member Milouvr3's Avatar
    Join Date
    Aug 2007
    Location
    /etc
    Posts
    27

    Re: Update Using Data Repeaer

    man i've seen this page before and i tried to convert the code to VB
    but it didn't work

    so plz if some1 can convert it to me plz

  4. #4

    Thread Starter
    Junior Member Milouvr3's Avatar
    Join Date
    Aug 2007
    Location
    /etc
    Posts
    27

    Re: Update Using Data Repeaer


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

    Re: Update Using Data Repeaer

    Converting from one language to another isn't very difficult. All you need is an understanding of the CLR. You could even use an online converter such as

    http://labs.developerfusion.co.uk/co...arp-to-vb.aspx

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