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 core objects of ADO.NET?
What is the meaning of object pooling?
What is an ado?
What is the difference between oledbreader and datasetwhile connecting?
We all know that Dataset is purely disconnected architechure, but we also know that we can update the changes made to the dataset can be updated in the backend database. when there is no connection how does the update happedn?
6 Answers Accenture, FastStream,
how would i implement dropdownlist in gridview using c#
Which are the different IsolationLevels ?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
What do you mean by performing asynchronous operation using command object?
Which is the best institute in hyderabad to learn DotNet?
About ADO and its objects ?
What is a non query?
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)