About "do you know how to reference an assembly?"
Whenever we provide any object or type name in our code whose class, namespace or assembly is not defined by us, system shows object reference error.
So, be sure that you have declared assembly or reference to all declared objects.
Since you've told that your class and namespace name are same:
- First of all change name of your class. Let its be "FTVClass"
- On top while declaring assembly references also add reference to namespace as below:
using FTVSetverCode;
Also try with changing your following errored line of code :
"this.dataSet11 = new FTServerCode.DataSet1();//this line creates problem"
with
FTVClass Fclass = new FTVClass();
DataSet DataSet11;
DataSet11 = new DataSet();
DataSet11 = FTVClass.DataSet1();