FineUI 官方论坛
标题:
Grid前台插入数据,后台如何获取
[打印本页]
作者:
Destiny
时间:
2013-6-26 16:17
标题:
Grid前台插入数据,后台如何获取
我在JS把数据添加进Grid,后台应该如何取得?
var TopicRecord = Ext.data.Record.create([
{ name: 'ID', type: 'string',id:true },
{ name: 'FileName', type: 'string' },
{ name: 'FilePath', type: 'string' },
{ name: 'FileSize', type: 'int' },
{ name: 'FileExtension', type: 'string' },
{ name: 'FileCreationDate', type: 'date' },
{ name: 'FileModificationDate', type: 'date' },
{ name: 'FileIndex', type: 'int' },
{ name: 'FileId', type: 'int' },
{ name: 'Percent', type: 'int' },
{ name: 'Status', type: 'string' },
{ name: 'btnlook', type: 'string' },
{ name: 'btndelete', type: 'string' }
]);
var myNewRecord = new TopicRecord({
ID: file.id,
FileName: file.name,
FilePath: '',
FileSize: file.size,
FileExtension: file.type,
FileCreationDate: file.creationdate,
FileModificationDate: file.modificationdate,
FileIndex: file.index,
FileId: file.index,
Percent: 0,
Status: file.filestatus,
btnlook:'',
btndelete:''
}, file.id);
storeFiles.add(myNewRecord);
其中storeFiles是Grid的store.
在asp.net后台应该如何取得这些数据?
欢迎光临 FineUI 官方论坛 (https://fineui.com/BBS/)
Powered by Discuz! X3.4