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 |
Give an example that shows how to execute a stored procedure in ado.net?
What is dataset and datatable in ado.net?
What is the difference in record set and dataset?
What are the 3 major types of connection objects in ado.net?
How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures?
0 Answers SwanSoft Technologies,
What is sqlconnection and sqlcommand?
can u tell me the why ADO does not support xml..
How can we add relation between tables in a dataset?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
What do you know about ADO.NET's objects and methods?
What do you mean by performing asynchronous operation using command object?
What is the difference between executequery and executenonquery?
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)