gridview删除修改后字体变大怎么办

来源:百度知道 编辑:UC知道 时间:2024/06/21 09:37:48
详细的问题说明,有助于回答者给出准确的答案
在我进行编辑后gridview 里的数据字体都变大了,用了Css也不管用。数据绑定我会的。

在page_load里边加上代码GridView1.Attributes.Add("style", "table-layout:fixed");

我不知道 你具体问什么 但是 gridview 可以自己 写代码 实现 我这刚好 由一个 你试试 是关于 gridview 的事件编程 你早晚要 会 还有 许多 事要自己来
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="实验五.aspx.cs" Inherits="实验五" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div align="center" >