<asp:TemplateField HeaderText = "CMD"> <ItemTemplate > <asp:Button ID="bt_edit" runat="server" Text="EDIT" Font-Size="Smaller" CommandName="edit"/> <asp:Button ID="bt_del" runat="server" Text="DEL" Font-Size="Smaller" CommandName="del"/> </ItemTemplate> <EditItemTemplate > <asp:Button ID="bt_update" runat="server" Text="UPDATE" Font-Size="Smaller" /> <asp:Button ID="bt_cancel" runat="server" Text="CANCEL" Font-Size="Smaller" /> </EditItemTemplate> <FooterTemplate > <asp:Button ID="bt_add" runat="server" Text="ADD" Font-Size="Smaller" OnClick="bt_add_click"/> </FooterTemplate> </asp:TemplateField>
<ItemTemplate > <asp:Button ID="bt_edit" runat="server" Text="EDIT" Font-Size="Smaller" CommandName="edit" CommandArgument='<%# Bind("ColumnA") %>'/> <asp:Button ID="bt_del" runat="server" Text="DEL" Font-Size="Smaller" CommandName="del" CommandArgument='<%# Bind("ColumnA") %>' OnClientClick="return confirm('Are you want to delete this item?');" /> </ItemTemplate>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง