suppose i have a table say
sno name orderdate
and i have made property in my asp.net by adding class
say class1
private int sno;
public int Sno
{
get(return sno;)
set(sno=value;)
}
and so on for futher two and in constructor i have decalred
public class()
{
sno=0;
name=string.empty;
orderdate=datetime.now
}
ii m aware of static class and autoimplemented property but for time being i wanna use the old 2.0 get set method
now how i can access them in another class..? or assign value to them in another class
in asp.net in App_Code Folder Class2 ..?
thank you