Data.dll not included by defalut

  • Thread starter Thread starter Prateek
  • Start date Start date
P

Prateek

Hi,

When i open a Windows app vb.net project, system.data.dll is not included by default. I have to include it explicity, however, I am still not able to work with the DataSet object. DataView, DataTable work fine.

Also, MS samples that use DataSet work without any problems.

Please help.

TIA
Prateek
 
Hi,

If you do not see DataSet or other ADO.NET classes, then just add next import at the top of your VB code

Imports System.Data


--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Hi,

When i open a Windows app vb.net project, system.data.dll is not included by default. I have to include it explicity, however, I am still not able to work with the DataSet object. DataView, DataTable work fine.

Also, MS samples that use DataSet work without any problems.

Please help.

TIA
Prateek
 
Thanks, but I do see DataView and DataTable classes fine.

Also, why do I have to include system.data.dll? I assume it should be included by default!

Thanks for any help


Hi,

If you do not see DataSet or other ADO.NET classes, then just add next import at the top of your VB code

Imports System.Data


--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Hi,

When i open a Windows app vb.net project, system.data.dll is not included by default. I have to include it explicity, however, I am still not able to work with the DataSet object. DataView, DataTable work fine.

Also, MS samples that use DataSet work without any problems.

Please help.

TIA
Prateek
 
Hi,

Yes, it should be included by default. Why did you decide to do it explicitly?
--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Thanks, but I do see DataView and DataTable classes fine.

Also, why do I have to include system.data.dll? I assume it should be included by default!

Thanks for any help


Hi,

If you do not see DataSet or other ADO.NET classes, then just add next import at the top of your VB code

Imports System.Data


--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Hi,

When i open a Windows app vb.net project, system.data.dll is not included by default. I have to include it explicity, however, I am still not able to work with the DataSet object. DataView, DataTable work fine.

Also, MS samples that use DataSet work without any problems.

Please help.

TIA
Prateek
 
Because, I checked the references section in Solution Explorer and it was not included.

Hi,

Yes, it should be included by default. Why did you decide to do it explicitly?
--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Thanks, but I do see DataView and DataTable classes fine.

Also, why do I have to include system.data.dll? I assume it should be included by default!

Thanks for any help


Hi,

If you do not see DataSet or other ADO.NET classes, then just add next import at the top of your VB code

Imports System.Data


--
Val Mazur
Microsoft MVP
Check Virus Alert, stay updated
http://www.microsoft.com/security/incident/blast.asp


Hi,

When i open a Windows app vb.net project, system.data.dll is not included by default. I have to include it explicity, however, I am still not able to work with the DataSet object. DataView, DataTable work fine.

Also, MS samples that use DataSet work without any problems.

Please help.

TIA
Prateek
 
Back
Top