Can you edit data in the Repeater control?

Showing Answers 1 - 21 of 21 Answers

vijaybabu

  • Mar 15th, 2005
 

No, We Can't Edit Data In Repeater Control

  Was this answer useful?  Yes

vvbabbu

  • Jul 22nd, 2005
 

No We Can't Edit

  Was this answer useful?  Yes

Dharmendra Yadav

  • Jul 21st, 2006
 

No we can't edit data in repeater control

  Was this answer useful?  Yes

sambit

  • Apr 13th, 2007
 

Yes,it can be done.But everythhing needs to be done manually.

  Was this answer useful?  Yes

100% after all controls are for us we can edit data for ex look at follwoing code


<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">

<ItemTemplate>

<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

  Was this answer useful?  Yes

By using the code we can edit the format of repeater control but not the data in repeater control

So we cannot edit the data in repeater control but we can edit the format

  Was this answer useful?  Yes

kamleshtej

  • Dec 18th, 2009
 

Basically the repeter control is used for diaplaying the data not for updating.  You can use other controls for edit and update the data.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions