Can you edit data in the Repeater control?
dear all,
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 />
<asp:Label id="Label1" Text='<%# DataBinder.Eval(Container.DataItem, "id") %>' runat="server" />
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
no because there in no edittemplate so it wont treat item to be updated seprately. but as there is itemcommand and item databound u can use ur logic to show as information is being edited.
No, it just reads the information from its data source.