<tr id="email" style="display: block" runat="server"> <td style="width: 22%"> <asp:Label ID="Label46" runat="server" Text="Email Account" CssClass="font12"></asp:Label> </td> <td> <asp:TextBox ID="txtEmailAc" runat="server" CssClass="font12" Width="160px"></asp:TextBox> </td> </tr> <tr id="pass" style="display: block;" runat="server"> <td style="width: 22%"> <asp:Label ID="Label47" runat="server" Text="Email Password" CssClass="font12"></asp:Label> </td> <td> <asp:TextBox ID="txtEmailPass" runat="server" Width="160px" CssClass="font12" onkeyup="MainPass()" onchange="MainPass()" TextMode="Password"></asp:TextBox> </td> </tr>
Dim usercred As String = "False" If row("Email").ToString = "True" Then usercred = "True" email.Attributes.Remove("style") pass.Attributes.Remove("style") Else email.Attributes.Add("style", "display:none;") pass.Attributes.Add("style", "display:none;") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)