Answer Posted / 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 |
Post New Answer View All Answers
What are the advantages using ado.net?
What is the difference in record set and dataset?
What is difference between executequery and executeupdate?
What are the namespaces used in ado.net for data access?
What is ado.net components?
How to add a javaScript function in a datagrid?
What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?
What are the different ado.net namespaces?
How would you connect to a database by using .NET?
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What is a column variable?
What are the advantages and disadvantages of using datalist?
What is ado.net and its architecture?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
What is the difference between linq and ado.net?