By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,868 Members | 1,974 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,868 IT Pros & Developers. It's quick & easy.

How can i save textbox value in Profile and display on datalist label?

P: 1
Expand|Select|Wrap|Line Numbers
  1. <asp:DataList ID="dataList" runat="server">
  2.         <ItemTemplate>
  3.            <table>
  4.               <tr><td><asp:Label ID="lblName" runat="server"></asp:Label></td></tr>
  5.               <tr><td><asp:Label ID="lblEmail" runat="server"></asp:Label></td></tr>
  6.               <tr><td><asp:Label ID="lblMobile" runat="server"></asp:Label></td></tr>
  7.            </table>
  8.         </ItemTemplate>
  9.         </asp:DataList>
  10.     </div>
  11.     <div>
  12.         <table>
  13.             <tr><td>Name:</td><td><asp:TextBox ID="txtName" runat="server"></asp:TextBox></td></tr>
  14.             <tr><td>Email:</td><td><asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td></tr>
  15.             <tr><td>Mobile:</td><td><asp:TextBox ID="txtMobile" runat="server"></asp:TextBox></td></tr>
  16.             <tr><td></td><td><asp:Button ID="btnSave" runat="server" Text="Save" OnClick="Save_Click"/></td></tr>
  17.         </table>
Oct 4 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.