Hi,
Let try this
strDataSource = "\\\\NOTEBOOK\\D\\ROOMRES\\DATA\\ROOM_RES.DBC";
without the $ sign.
One suggestion to make the code more readable:
strDataSource = @"\\NOTEBOOK\D\ROOMRES\DATA\ROOM_RES.DBC";
hth
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...