<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Basic .NET</title><link>http://forums.asp.net/36.aspx</link><description>Discussions/Questions about the Visual Basic .NET language. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=14&amp;c=23" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3265563.aspx</link><pubDate>Tue, 30 Jun 2009 04:52:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3265563</guid><dc:creator>sumitd</dc:creator><author>sumitd</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3265563.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3265563</wfw:commentRss><description>&lt;p&gt;Try this:

        
&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span&gt;Public&lt;/span&gt; &lt;span&gt;Shared&lt;/span&gt; &lt;span&gt;Function&lt;/span&gt; Underline(&lt;span&gt;ByVal&lt;/span&gt; value &lt;span&gt;As&lt;/span&gt; String) &lt;span&gt;As&lt;/span&gt; String&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;span&gt;If&lt;/span&gt; &lt;span&gt;Not&lt;/span&gt; String.IsNullOrEmpty(value) &lt;span&gt;Then&lt;br /&gt;&lt;/span&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span&gt;Return&lt;/span&gt; &amp;quot;&amp;lt;u&amp;gt;&amp;quot; &amp;amp; value &amp;amp; &amp;quot;&amp;lt;/u&amp;gt;&amp;quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span&gt;End&lt;/span&gt; &lt;span&gt;If&lt;br /&gt;&lt;/span&gt;
&amp;nbsp; &amp;nbsp; &lt;span&gt;Return&lt;/span&gt; value&lt;br /&gt;&lt;span&gt;End&lt;/span&gt; &lt;span&gt;Function&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;&lt;div&gt;&lt;div&gt;&lt;ol id="code-result"&gt;
&lt;/ol&gt;
    &lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Re: how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3265517.aspx</link><pubDate>Tue, 30 Jun 2009 04:23:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3265517</guid><dc:creator>susain</dc:creator><author>susain</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3265517.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3265517</wfw:commentRss><description>&lt;p&gt;Hi devjitendra,&lt;/p&gt;
&lt;p&gt;Try this&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &amp;gt;
&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;
    &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;
    .underline
    {
    text-decoration:underline;
    }
    &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
    &amp;lt;div&amp;gt;
        &amp;lt;asp:Label ID=&amp;quot;lblMessage&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Hi boss How r u&amp;quot; Font-Bold=&amp;quot;True&amp;quot; ForeColor=&amp;quot;Red&amp;quot; Font-Underline=&amp;quot;True&amp;quot;&amp;gt;&amp;lt;/asp:Label&amp;gt;
        &amp;lt;p class=&amp;quot;underline&amp;quot;&amp;gt;Hi, How are you&amp;lt;/p&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Farooq&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3253317.aspx</link><pubDate>Tue, 23 Jun 2009 14:46:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3253317</guid><dc:creator>KyD</dc:creator><author>KyD</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3253317.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3253317</wfw:commentRss><description>&lt;p&gt;The code is old.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Can you send the string to the literal object and format the literal object instead?&lt;/p&gt;
&lt;p&gt;You should be usring style.&amp;nbsp; &amp;lt;asp:literal id=&amp;quot;lit&amp;quot; style=&amp;quot;text-decoration: underline;&amp;quot;&amp;gt; &lt;/p&gt;</description></item><item><title>Re: how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3251555.aspx</link><pubDate>Mon, 22 Jun 2009 21:13:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3251555</guid><dc:creator>RatheeshC</dc:creator><author>RatheeshC</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3251555.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3251555</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you post the VB &amp;amp; C# code here..?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3251549.aspx</link><pubDate>Mon, 22 Jun 2009 21:09:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3251549</guid><dc:creator>papabear</dc:creator><author>papabear</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3251549.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3251549</wfw:commentRss><description>&lt;p&gt;There is no reason that should not work (it is old HTML after all) except for how you are using it. I am assuming it is NOT being used just within a page (ex: &amp;lt;u&amp;gt;just text I am underling&amp;lt;/u&amp;gt;) but someone within code. Is this correct? If so, what is the code?&lt;/p&gt;&lt;p&gt;thanks,&lt;/p&gt;&lt;p&gt;m &lt;br /&gt;&lt;/p&gt;</description></item><item><title>how to Underline a Perticular string in Vb.net</title><link>http://forums.asp.net/thread/3250871.aspx</link><pubDate>Mon, 22 Jun 2009 14:39:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3250871</guid><dc:creator>devjitendra</dc:creator><author>devjitendra</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3250871.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3250871</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a Require To Underline A Perticular String in Vb.net&lt;/p&gt;&lt;p&gt;I trying tu use &amp;lt;u&amp;gt;&amp;lt;/u&amp;gt; but it doesn&amp;#39;t works.&lt;/p&gt;&lt;p&gt;It works in C#&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>