1.在页面添加 在Grid的Html里面添加 ItemStyle-Wrap=False 如: < asp:TemplateColumn ItemStyle-Wrap =False > < ItemTemplate > < asp:LinkButton id ="lb_edit" runat ="server" CommandName ="edit" CommandArgument ="edit" > Edit </ asp:LinkButton > < asp:LinkButton id ="lb_Delete" runat ="server" CommandName ="delete" CommandArgument ="delete" > Delete </ asp:LinkButton > </ ItemTemplate > < EditItemTemplate > < asp:LinkButton id ="lb_insert" runat ="server" CommandName ="insert" CommandArgument ="insert" > Insert </ asp:LinkButton > < asp:LinkButton id ="lb_update" runat ="server" CommandName ="update" CommandArgument ="update" > Update </ asp:LinkButton > < asp:LinkButton id ="lb_Cancel" runat ="server" CommandName ="Cancel" CommandArgument ="cancel" > Cancel </ asp:LinkButton > </ EditItemTemplate > </ asp:TemplateColumn > 2.在后台ItemCreated事件中添加 for ( int i = 0 ; i < e.Item.Cells.Count; i ++ ) ... { // e.Item.Cells[x]是当前行中的单元格 e.Item.Cells[i].Wrap = false; }