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
Printable View
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
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
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
Problem solved
http://www.aspfr.com/codes/EXEMPLE-C...TER_23496.aspx
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