|
-
Aug 17th, 2007, 02:36 AM
#1
Thread Starter
Junior Member
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
-
Aug 17th, 2007, 10:32 AM
#2
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
-
Aug 18th, 2007, 04:27 AM
#3
Thread Starter
Junior Member
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
-
Aug 21st, 2007, 02:35 AM
#4
Thread Starter
Junior Member
Re: Update Using Data Repeaer
-
Aug 21st, 2007, 11:16 AM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|