asp.net mvc 获取button属性
@foreach (PersonInfo Person in ViewBag.PersonList)
{
<tr>
<td>@Person.ID</td>
<td>@Person.StationID</td>
<td>@Person.FirstName</td>
<td>@Person.LastName</td>
<td>@Person.Age</td>
<td>@Person.Sex</td>
<td>@Person.Level</td>
<td id="operate">
<input type="button" id="EditInfo" personId="@Person.ID+E" value="编辑"/>
<input type="button" id="DeleteInfo" personId="@Person.ID" value="删除" />
<input type="button" id="AddPerson" value="添加" />
</td>
</tr>
}
</table>
}