Ejemplo n.º 1
0
    public string loadMember(string branchType, string buy)
    {
        string result = ""; int i = 1;

        var m = db.sp_web_loadMember(branchType, buy);

        foreach (var item in m.ToList())
        {
            result += "<tr class='detail-rows' id='" + item.Id.ToString() + "' title='Click để xem chi tiết'>";
            result += "<td class='center'>" + i.ToString() + "</td>";
            result += "<td>" + item.BranchTypeName + "</td>";
            result += "<td>" + item.MemberCode + "</td>";
            result += "<td>" + item.MemberName + "</td>";
            result += "<td>" + item.Birthday + "</td>";
            result += "<td>" + item.Sex + "</td>";
            result += "<td>" + item.Address + "</td>";
            result += "<td>" + item.Phone + "</td>";
            result += "<td>" + item.Note + "</td>";
            result += "<td>" + item.CreateBy + "</td>";
            result += "<td>" + item.JoinCreateAt + "</td>";
            result += "</tr>";
            i++;
        }
        return(result);
    }