public string loadAccount(string group) { string result = ""; int i = 1; var m = db.sp_web_loadAccountByGroup(group); foreach (var item in m.ToList()) { result += "<tr class='detail-rows' onclick='getDetailUser(" + item.Id.ToString() + ")' id='delete" + item.Id.ToString() + "' title='Click để xem chi tiết'>"; result += "<td class='center'>" + i.ToString() + "</td>"; result += "<td>" + item.BranchTypeName + "</td>"; result += "<td>" + item.BranchName + "</td>"; result += "<td>" + item.GroupName + "</td>"; result += "<td>" + item.Username + "</td>"; result += "<td>" + item.FullName + "</td>"; result += "<td>" + item.Sex + "</td>"; result += "<td>" + item.Birthday + "</td>"; result += "<td>" + item.Email + "</td>"; result += "<td>" + item.Phone + "</td>"; result += "<td>" + item.Address + "</td>"; result += "<td>" + item.Note + "</td>"; result += "<td>" + item.Status + "</td>"; result += "<td>" + item.CreateAt + "</td>"; result += "</tr>"; i++; } return(result); }