ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Display ASP.Net controls in HTML Table format with single line border<p>Hi <a class="username" rel="narasiman"> narasiman</a>,</p> <p>Check the below example.</p> <p><span style="text-decoration: underline;">HTML</span></p> <pre class="brush: html">&lt;table style=&#34;border: 1px solid black;&#34;&gt; &lt;tr&gt; &lt;td&gt; &lt;asp:Label ID=&#34;lbluser&#34; runat=&#34;server&#34; Text=&#34;Leave Type&#34; /&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:DropDownList ID=&#34;ddlleavetype&#34; runat=&#34;server&#34;&gt; &lt;asp:ListItem Enabled=&#34;true&#34; Text=&#34;Select Leave Type&#34; Value=&#34;-1&#34;&gt;&lt;/asp:ListItem&gt; &lt;/asp:DropDownList&gt; &lt;/td&gt; &lt;td&gt; &amp;nbsp; &lt;/td&gt; &lt;td&gt; &amp;nbsp; &lt;/td&gt; &lt;td&gt; &lt;asp:Label ID=&#34;lblfromdt&#34; runat=&#34;server&#34; Text=&#34;From Date&#34; /&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:TextBox ID=&#34;textbox1&#34; runat=&#34;server&#34; /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;asp:Label ID=&#34;lbltodate&#34; runat=&#34;server&#34; Text=&#34;ToDate&#34; /&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:TextBox ID=&#34;textbox2&#34; runat=&#34;server&#34; /&gt; &lt;/td&gt; &lt;td&gt; &amp;nbsp; &lt;/td&gt; &lt;td&gt; &amp;nbsp; &lt;/td&gt; &lt;td&gt; &lt;asp:Label ID=&#34;lblreason&#34; runat=&#34;server&#34; Text=&#34;Reason&#34; /&gt; &lt;/td&gt; &lt;td&gt; &lt;asp:TextBox ID=&#34;textbox3&#34; runat=&#34;server&#34; /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</pre> <p><span style="text-decoration: underline;">Screenshot</span></p> <p><img src="https://i.imgur.com/Rsk7GaY.jpg" alt="" width="472" height="89" /></p>https://www.aspforums.net:443/Threads/154284/Display-ASPNet-controls-in-HTML-Table-format-with-single-line-border/https://www.aspforums.net:443/Threads/154284/Display-ASPNet-controls-in-HTML-Table-format-with-single-line-border/Wed, 17 Jan 2018 23:32:19 GMT