Can you edit data in the Repeater control?
Answers were Sorted based on User's Feedback
Answer / sunil
NO u cannot edit in the repeater control.only u can display
the data in the repeating sequence thats it.but in datagrid
and datalist u can do edit /update options
Is This Answer Correct ? | 10 Yes | 4 No |
Answer / vaibhav
No U can't edit in repeater control u can only display
records in repeater control.if u have to edit then use of
grid view is confirtable
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / avinash
NO u cannot edit in the repeater control.only u can display
the data in the repeating sequence thats it
Is This Answer Correct ? | 3 Yes | 4 No |
What is namespace in ado.net?
Which is faster sqldataadapter and sqldatareader?
Which provider is used to connect ms access, oracle, etc…?
What are relation objects in dataset and how & where to use them?
Which type of database is used while processing dynamic database?
What are the benefits of using ado.net?
what is Execute NOn Query?
29 Answers Infosys, Protech, Sars Systems, SwanSoft Technologies,
What is ado in agriculture?
What is the difference between Data adaptor and Data set?
What is @@rowcount and with small code snippet explain the usage?
The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx
Explain the namespaces in which .net has the data functionality class.