mike55 Posted February 22, 2006 Posted February 22, 2006 I have declared the following global variable. dim dtMembers as datatable = new Datatable("Members") However the .net 2005 environment throws the following error: "Type DataTable is note defined." I have imported the following at the start: imports system imports system.data If I however change the global code to the following: dim dtMembers as Datatable = new System.Data.DataTable("Members") the environment does not throw an error. Any suggestions on what is going wrong? Mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.