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

translate this to VB?

P: n/a
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");
}
}


Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
TJS
use this

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

"Luis E Valencia" <lu*******@haceb.com> wrote in message
news:eu**************@TK2MSFTNGP09.phx.gbl...
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");
}
}

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.