Last post Dec 01, 2009 04:54 AM by ben45
Nov 26, 2009 06:50 AM|Dumpen|LINK
I think im evolving in building websites, but im unsure if its the "right" way im going.
What im talking about is displaying data from a mysql database and editing the data.
The way im currently doing it when displaying data is using a repeater and a factory.
When editing I use textbox and a button.
Here is a build example of a simple website i made:
What do you guys think, are there any alternatives or can I improve anything?
Kind regards Casper
Nov 26, 2009 08:23 AM|vipuldonga|LINK
this is write way. Please put one button in the repeater and when user click on that button you fetch that record by passing command argument in the button. and fill your text box which is out side the repeater and when user edit that record bind your repeater
Nov 26, 2009 11:57 AM|Dumpen|LINK
I just think my edit method seems a bit oldschool, but I dont know any other methods so I could not say.
Dec 01, 2009 04:54 AM|ben45|LINK
Actually, there is a framework (visual webgui) which can provide much better results to that scenario while using simpler data binding techniques between the controls & DB.
You can watch that
demo and see how simple it can be.