FineUI 官方论坛
标题:
可编辑表格GetModifiedDict取不到数据
[打印本页]
作者:
Spring
时间:
2013-12-3 15:16
标题:
可编辑表格GetModifiedDict取不到数据
页面GRID
<x:Grid ID="GridData" ShowBorder="false" ShowHeader="false"
DataKeyNames="CODE,VALUE" AllowCellEditing="true" ClicksToEdit="1" runat="server">
<Toolbars>
<x:Toolbar ID="Toolbar1" Position="Top" runat="server">
<Items>
<x:ToolbarText ID="ToolbarText1" CssStyle="" Text="参数编辑说明:" runat="server" />
<x:ToolbarFill ID="ToolbarFill1" runat="server">
</x:ToolbarFill>
<x:Button ID="btnSave" runat="server" Icon="Disk" Text="保存">
</x:Button>
</Items>
</x:Toolbar>
</Toolbars>
<Columns>
<x:BoundField DataField="CODE" HeaderText="CODE" Hidden="true" />
<x:BoundField DataField="NAME" Width="300px" HeaderText="名称" />
<x:RenderField Width="200px" ColumnID="VALUE" DataField="VALUE" FieldType="String" HeaderText="参数" ExpandUnusedSpace="true" >
<Editor>
<x:TextBox ID="tbxVALUE" Required="true" runat="server">
</x:TextBox>
</Editor>
</x:RenderField>
<x:RenderField Width="300px" ColumnID="MEMO" DataField="MEMO" FieldType="String" HeaderText="备注">
<Editor>
<x:TextBox ID="tbxMEMO" runat="server">
</x:TextBox>
</Editor>
</x:RenderField>
</Columns>
</x:Grid>
后台CS
protected void btnSave_Click(object sender, EventArgs e)
{
List<CommandInfo> cmdList = new List<CommandInfo>();
string strSql;
Dictionary<int, Dictionary<string, string>> modifiedDict = GridData.GetModifiedDict();
作者:
人这一生
时间:
2014-2-17 11:10
什么原因啊,我也找不到数据
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4