hi all,
my designer project generates a class code that inherits from System.Data.Dataset class like this:
public class Model : DataSet{
private string element1;
.....
public string Element1{
set{...}
get{...}
}
.....
}
And now, in an Asp.Net project i want to bind ASP.NEt controls, like as textbox, to my class properties like Element1.
I added this class code in to Asp.net project and created an instance of my Model class as Typed DataSet.
Then, when i want to bind a text property of textbox with Model.Element1, although i can see my Model class object, i do not see properties of the class. so can not bind with textbox.
is there any way how to do this?
Thanks.
my designer project generates a class code that inherits from System.Data.Dataset class like this:
public class Model : DataSet{
private string element1;
.....
public string Element1{
set{...}
get{...}
}
.....
}
And now, in an Asp.Net project i want to bind ASP.NEt controls, like as textbox, to my class properties like Element1.
I added this class code in to Asp.net project and created an instance of my Model class as Typed DataSet.
Then, when i want to bind a text property of textbox with Model.Element1, although i can see my Model class object, i do not see properties of the class. so can not bind with textbox.
is there any way how to do this?
Thanks.