[Solved] Error when I put DataSets in a folder [closed]


When you create a new Dataset in a folder, the default namespace of the dataset is the folder name. So where you want to use it, you need to use the full foldername as the namespace, like this:

FolderName.SubFolderName.DataSet1 ds = new FolderName.SubFolderName.DataSet1();

Or at the top of the class where you’re trying to use the dataset, add a using:

using FolderName.SubFolderName;

solved Error when I put DataSets in a folder [closed]