dataGridView控件呢个属性是初始化默认不选中内容的

2025-03-01 04:29:51
推荐回答(1个)
回答1:

protected void Page_Load(object sender, EventArgs e)
{
if (!this.Page.IsPostBack)
{
this.GridView1.SelectedIndex = -1;
}
}