컨트롤 테이블 데이터 할당
3098 단어 데이터
<p>
<label>
ID :
</label>
<span>
<asp:Label ID="LbInstitutionID" runat="server" Text="Label"></asp:Label></span></p>
<p>
public void BindDataLb(string where)
{
DataSet ds = new DataSet();
StringBuilder strWhere = new StringBuilder();
strWhere = new StringBuilder(where);
ds = bll.GetList(strWhere.ToString());
foreach (DataRow dr in ds.Tables[0].Rows)
{
HR.Model.Admin.P_LoanProduct model = new Model.Admin.P_LoanProduct();
model.InstitutionID = Convert.ToInt32(dr["InstitutionID"]); // ID : LbInstitutionID
Turn(model);
}
}
public void Turn(HR.Model.Admin.P_LoanProduct model)
{
HR.BLL.Admin.I_Institution bllInstitution = new HR.BLL.Admin.I_Institution();
DataSet ds = bllInstitution.GetList("InstitutionID=" + model.InstitutionID);
LbInstitutionID.Text = ds.Tables[0].Rows[0]["InstitutionName"].ToString();// ID : LbInstitutionID
ds = null;
}
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
[Core Javascript] JS 분석 from scratch: 데이터, 변수, 메모리 관련 기본지식이런 언어의 기반이 되는 지식을 알아야 나중에 더 능숙하게 다룰 수 있겠다 싶었습니다. 그렇다면 기본형과 참조형 데이터를 구분하는 기준은 무엇일까요? 이것을 이해하기 위해 알아야할 배경지식들이 있습니다. 변수와 식별...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.