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 are the steps to connect to a database?
How to aggregating data across related tables?
What are the differences between RAW, AUTO and Explicit modes in retrieving data from SQL Server in XML format?
What are the different ado.net namespaces?
What is the current version of entity framework?
What is ole data type?
What are the namespaces used in ADO.Net to connect to a database?
Which is faster entity framework or ado.net?
What are the Features of a dataset
What are the connected and disconnected modes in ado.net?
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.
2 Answers Fulcrum Logic, Satyam,
What's the difference between Dataset.clone and Dataset.copy?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)