Last active
August 29, 2015 13:57
-
-
Save quynguyen3490/9646832 to your computer and use it in GitHub Desktop.
A custom GridView in Asp.Net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:GridView ID="gvBenhNhan" AutoGenerateColumns="false" runat="server"> | |
<Columns> | |
<asp:BoundField HeaderText="Mã bệnh nhân" DataField="MaBenhNhan" /> | |
<asp:BoundField HeaderText="Tên bệnh nhân" DataField="TenBenhNhan" /> | |
<asp:BoundField HeaderText="Viện phí" DataField="VienPhi" /> | |
<asp:BoundField HeaderText="Tên phòng" DataField="TenPhong" /> | |
<asp:HyperLinkField Text="Sửa" DataNavigateUrlFields="MaBenhNhan" DataNavigateUrlFormatString="~/PL/BenhNhan/22_update.aspx?id={0}" /> | |
<asp:HyperLinkField Text="Xóa" DataNavigateUrlFields="MaBenhNhan" DataNavigateUrlFormatString="~/PL/BenhNhan/22_delete.aspx?id={0}" /> | |
</Columns> | |
</asp:GridView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment