Author: elbasha | Posted on: 10/5/2010 8:29:16 AM | Views : 566

I have the following 2 examples, I want to figure out a way that I can do a check on anything in VB.NET, I thought there would be a function IsExists but I can't seem to find one. 


#1, I want to check if this dataset has a table named "testing".
#2, I have a MS Chart and want to check if it already has a series called "testing"


I tried to do..

If Not Chart1.Series("testing") Is Nothing Then ' code here End If




But that does not work, it throws an exception.

...

Go to the complete details ...