Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guys,

How can i write the following CS code in vb .net
if (ctrl != null)
{
_listctrl = (ListControl) ctrl;
return (_listctrl != null);
}
else
return false; // raise exception

Thanks

Manny
 
Return (Not ctrl Is Nothing)

HTH

Elton Wang
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top