i have been following tutorial: http://w3schools.com/aspnet/showasp.asp?filename=demo_repeater3
i have been able complete tutorial, wanted take next level making grid editable , not sure how this.
is there way make grid editable?
<%@ import namespace="system.data" %> <script runat="server"> sub page_load if not page.ispostback dim mycdcatalog=new dataset mycdcatalog.readxml(mappath("cdcatalog.xml")) cdcatalog.datasource=mycdcatalog cdcatalog.databind() end if end sub </script> <html> <body> <form runat="server"> <asp:repeater id="cdcatalog" runat="server"> <headertemplate> <table border="0" width="100%"> <tr> <th align="left">title</th> <th align="left">artist</th> <th align="left">company</th> <th align="left">price</th> </tr> </headertemplate> <itemtemplate> <tr> <td><%#container.dataitem("title")%> </td> <td><%#container.dataitem("artist")%> </td> <td><%#container.dataitem("company")%> </td> <td><%#container.dataitem("price")%> </td> </tr> </itemtemplate> <separatortemplate> <tr> <td colspan="6"><hr /></td> </tr> </separatortemplate> <footertemplate> </table> </footertemplate> </asp:repeater> </form> </html> </body>
how jquery? there's great plugin right here: jquery grid. when there, want editing rows.
if not you're looking for, should consider using gridview.
if still, that's not you're looking for, maybe should try manually have learned far in tutorials.
Comments
Post a Comment