2
我不知道是否有可能顯示一個固定的文本框與多行,當點擊編輯鏈接在gridview。
代碼:Gridview BoundField編輯文本框啓用多行
<asp:BoundField DataField="AboutUs_Text" HeaderText="About Us Editor" ItemStyle-CssClass="editing" >
<ControlStyle Width="100%" />
<ControlStyle height="100px" />
</asp:Boundfield>
protected void gvAboutUs_RowEditing(object sender, GridViewEditEventArgs e)
aspx.cs {
gvAboutUs.EditIndex = e.NewEditIndex;
bind();
}
因此,有必要使用綁定()而不是T上的Eval() extBox使編輯更新保存用戶所做的更改。 – seagulledge