Can you edit data in the Repeater control?

Answer Posted / saransony

100% after all controls are for us we can edit data for ex
look at following code.
asp:Repeater ID="Repeater1" runat="server"
DataSourceID="SqlDataSource1">
<Item Template>
<asp:Label id="Id" Text='<%# DataBinder.Eval
(Container.DataItem, "name") %>' runat="server" />
<br />
<br />

<asp:Label id="Label1" Text='<%# DataBinder.Eval
(Container.DataItem, "id") %>' runat="server" />
<br />

</ItemTemplate>
</asp:Repeater> if we are making this then w e can also
edit data.
Important links-
http://www.asp101.com/articles/john/repeater/default.asp
http://msdn2.microsoft.com/en-
us/library/ms178369(VS.80).aspx

http://www.code101.com/Code101/DisplayArticle.aspx?cid=1

http://authors.aspalliance.com/aspxtreme/aspnet/syntax/repea
terwebcontrol.aspx
http://www.techinterviews.com/?
p=249

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is openrowset?

494


What is the difference between ado.net and oledb?

479


What is an orm, and why would you use one instead of plain old ado.net?

572


What are all features of ADO.Net?

548


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

549






How to identify the updated rows in a dataset?

517


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

554


What is different between sqlcommand object and command behavior object?

539


What is defaultview in datatable?

533


What are the different methods available under the sqlcommand class to access the data?

575


What is ado data control?

521


What is a dynaset in access?

521


What is ado rdo dao in visual basic?

653


What does sqldatareader return?

501


Which is faster dataset or datareader?

522