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 are the different row versions available in table?

608


Explain ado.net features? Benefits? Drawbacks?

667


What is aggregate root?

580


Command objects uses, purposes and their methods.

603


What is difference between entity framework and ado.net?

559






how Sequence to connect and retrieve data from database using dataset?

826


What is execute reader in ado.net?

576


Explain why edit is not possible in repeater?

644


What are the advantages and disadvantages of using datalist?

606


How to add an aggregate column?

628


If a table contains 20000 records . In a page at each time 100 records to be displayed what are the steps you will take to improve performance? Will you use dataset or datareader?

718


Explain the advantages and disadvantages of using datalist?

683


What is linq and entity framework?

595


What is execute scalar in ado.net?

587


What are typed and untyped dataset?

639