set
또는 get
을 사용하여 값을 검색 할 수 없습니다. 내가 실수 한 곳을 말해 줄 수 있니? // UI 계층2tier에서 set get 속성을 사용하여 값을 검색 할 수 없습니다.
bb obj= new bb();
obj._Pur_Net_Total_Amount="fun";
method();
class2.cs // 비즈니스 계층
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 // 비즈니스 계층
bb obj = new bb();
textbox1.text=obj._Pur_Net_Total_Amount;//here i'm not getting "fun" string value
할 수있는 사람의 도움
Form1.cs를. ...
볼 수 있습니다, 당신은 A * A * 다른 *'_Pur_Net_Total_Amount'이있는 *'BB obj' 다른. – crashmstr
[서로 다른 프로젝트에서 두 클래스간에 변수 값을 전달하는 방법] 가능한 복제본 (http://stackoverflow.com/questions/20545888/how-to-pass-variable-values-between-two-class-in-different- 프로젝트) – albusshin