----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: gvkreddy Message 1 in Discussion Hello, I have a repeater as shown below <asp:Repeater id="rptBinDetails" runat="server" OnItemCommand="SetProperties"> <ItemTemplate> <table> <tr> <td> <table border="1" cellpadding="0" cellspacing="0"> <tr> <td><asp:Label id="lblSlNo"></asp:Label></td> <td colspan="2"> <input type="image" id="imgAsset" runat="server" src=<%# DataBinder.Eval(Container.DataItem, "ImageUrl") %> NAME="imgAsset"> </td> </tr> <tr> <td> </td> <td><input type="image" src="" id="imgPlay" runat="server" NAME="imgPlay"></td> <td>Select <input type="checkbox" id="chkBinItem" runat="server" value=<%# DataBinder.Eval(Container.DataItem, "Id") %> NAME="chkBinItem"></td> </tr> </table> </td> <td> <table> <tr> <td><asp:Label ID="lblAssetName" value=<%# DataBinder.Eval(Container.DataItem, "AspectRatio") %>></asp:Label></td> </tr> <tr> <td><asp:Label ID="lblDuration" value=<%# DataBinder.Eval(Container.DataItem, "AspectRatio") %>></asp:Label></td> </tr> <tr> <td><asp:Label ID="lblShortDescription" text=<%# DataBinder.Eval(Container.DataItem, "Description") %> ></asp:Label></td> </tr> <tr> <td>Comments:<br> <asp:TextBox ID="txtComments" Runat="server" TextMode="MultiLine" Text=<%# DataBinder.Eval(Container.DataItem, "Description") %> ></asp:TextBox></td> </tr> <tr> <td colspan="2" align="right"> <input type="image" src="" runat="server" id="imgSaveComments" NAME="imgSaveComments"> </td> </tr> </table> </td> </tr> <tr> <td> <table> <tr> <td colspan="4">Download selected clip:</td> </tr> <tr> <td><asp:DropDownList ID="ddlVideoFormat" runat="server" DataSource=<%# DataBinder.Eval(Container.DataItem, "SortOrderList") %>></asp:DropDownList></td> <td><input type="image" runat="server" id="imgDownload" src="" NAME="imgDownload"></td> <td><asp:DropDownList id="ddlUpdateSequence" runat="server" DataSource=<%# DataBinder.Eval(Container.DataItem, "SortOrderList") %>></asp:DropDownList></td> <td><input type="image" runat="server" id="imgUpdateSorder" src="" NAME="imgUpdateSorder"></td> </tr> </table> </td> </tr> </table> </ItemTemplate> </asp:Repeater> >From the above if I click on imgSaveComments. I should be able to get the >Comments from txtComments and save it to Database. For data bind am using ArrayList of objects. Any idea how to acheive the same?? :( Any help regarding this is much appreciated. Thanks, Vijay ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
