简体   繁体   English

如何使用Ext-js 4的Ext.data.writer.Json?

[英]How to use Ext.data.writer.Json of Ext-js 4?

I have codes reading JSON data from server by a proxy. 我有代码通过代理从服务器读取JSON数据。

But how to write back new data using Ext.data.writer.Json ? 但是如何使用Ext.data.writer.Json写回新数据? Any example? 有什么例子吗?

I have a grid pannel associated with a store, which has a proxy I said beyond. 我有一个与商店关联的网格面板,该面板具有我在后面说过的代理。

I'll put some code if you need to check out. 如果您需要签出,我会输入一些代码。

First, you need to see witch technology would fit your needs, i use .net webservices to communicate with GUI, here is a example of this! 首先,您需要查看适合您需求的技术,我使用.net Web服务与GUI进行通信,这是一个示例 Then you can use ado.net to communicate with database and save data you have send with web service, here is an example of this! 然后,您可以使用ado.net与数据库进行通信并保存通过Web服务发送的数据,这是一个示例 There are other ways but this one works for me! 还有其他方法,但这对我有用! Cheers! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM