Hi:
I have an ASP.NET project using C#.
When I try to declare a DataSet I get this error:
"c:\WINNT\Microsoft.NET\Framework\v1.1.4322\System .Data.dll Referenced class 'System.Data.DataSet' has base class or interface 'System.Xml.Serialization.IXmlSerializable' defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml'."
Even if I add:
using System.Xml it still gives me this error.
If I rem the declaration of the DataSet (below) the error goes away.
How can I solve this?
Code:
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace MyApplication
{
public class RptFunctions
{
private SvrFunctions oSvrFunc = new SvrFunctions();
private SqlConnection oCn;
private SqlParameter Parm;
private SqlCommand CMD;
protected SqlDataAdapter Adp;
protected DataSet pdsCFMainSum;
. . .