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 an ado connection?
What are dataproviders?
Difference between DataReader and DataAdapter / DataSet and DataAdapter?
How do you implement locking concept for dataset?
What is the difference between OLEDB Provider and SqlClient?
What is the use of data grid?
What is data reader in ado.net?
What's the difference between Dataset.clone and Dataset.copy?
What does ole stand for in excel?
Explain the namespaces in which .net has the data functionality class.
How can we add relation between tables in a dataset?
types of Store procedure in Sqlserver2000?