Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > translate this to VB?

Reply
Thread Tools

translate this to VB?

 
 
Luis E Valencia
Guest
Posts: n/a
 
      05-11-2004
Please somebody heeelp

foreach(DataListItem di in dlst.Items)


{


Label num = (Label)di.FindControl("num");


if(int.Parse(num.Text)<0)


{

num.ForeColor = Color.FromName("Red");

LinkButton lb = (LinkButton)di.FindControl("lb");


lb.ForeColor = Color.FromName("Red");


}


}




 
Reply With Quote
 
 
 
 
TJS
Guest
Posts: n/a
 
      05-11-2004
use this

http://authors.aspalliance.com/aldot...translate.aspx



"Luis E Valencia" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Please somebody heeelp
>
> foreach(DataListItem di in dlst.Items)
>
>
> {
>
>
> Label num = (Label)di.FindControl("num");
>
>
> if(int.Parse(num.Text)<0)
>
>
> {
>
> num.ForeColor = Color.FromName("Red");
>
> LinkButton lb = (LinkButton)di.FindControl("lb");
>
>
> lb.ForeColor = Color.FromName("Red");
>
>
> }
>
>
> }
>
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Translate Timing yaseenzaidi@NETZERO.com VHDL 3 06-22-2005 06:12 AM
post translate simulation Nisheeth VHDL 2 04-29-2005 05:36 PM
translate this send into perl sfgroups@gmail.com Perl 1 03-16-2005 09:54 PM
Xilinx translate error : Cannot find signal "clk" Rakesh Sharma VHDL 2 10-22-2004 08:03 PM
Modelsim post place and route/Post Translate issues Sridhar Hegde VHDL 2 09-13-2004 02:43 PM



Advertisments