I'm not able to retrieve values using set
nor get
. Can you tell where I made mistake?
form1.cs// ui tier
bb obj= new bb();
obj._Pur_Net_Total_Amount="fun";
method();
class2.cs // business tier
class bb()
{
string Net_Total_Amount = string.Empty;
public string _Pur_Net_Total_Amount
{
get { return Net_Total_Amount; }
set { Net_Total_Amount = value; }
}
}
form3.cs // business tier
bb obj = new bb();
textbox1.text=obj._Pur_Net_Total_Amount;//here i'm not getting "fun" string value
can anyone help....