winform中怎样使DataGridView的某一列可以添加两个Button控件

2024-11-11 16:02:05
推荐回答(1个)
回答1:

asp:GridView ID="gvPlan" runat="server" AutoGenerateColumns="False" OnRowCommand="gvImage_RowCommand"
OnRowDataBound="gvPlanDrill_RowDataBound">



CausesValidation="false" ToolTip="总结" CommandArgument='<%# Eval("PLAN_ID")%>' />
CausesValidation="false" ToolTip="编辑" CommandArgument='<%# Eval("PLAN_ID")%>' />