Kokas79
asked on
Creating a DataTable
Hello
I am creating a console app in VS.NET and my using statements are:
using System;
using System.Data;
using System.Data.SqlClient;
However when i write "DataTable dt = new" and click space, Visual Studio does not bring up DataTable automatically. After that on the next line when i use "dt." nothing appears after the dot.
Am i missing some other using statement?
Thanks
I am creating a console app in VS.NET and my using statements are:
using System;
using System.Data;
using System.Data.SqlClient;
However when i write "DataTable dt = new" and click space, Visual Studio does not bring up DataTable automatically. After that on the next line when i use "dt." nothing appears after the dot.
Am i missing some other using statement?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Does it compile or is it just intellisense that fails?
If it doesn't compile, did you try removing the 'using' statement and declaring it as 'System.Data.DataTable' instead?
If it doesn't compile, did you try removing the 'using' statement and declaring it as 'System.Data.DataTable' instead?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
damn thing works now...all i did was removed the project and added a new one...!
sorry guys for wasting your time...i will give extra points
sorry guys for wasting your time...i will give extra points
ASKER