获取查询字符串的最佳方法是什么? [英] what is the best way to get a query string?

查看:81
本文介绍了获取查询字符串的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我是MVC的新手(以及其他的编程:))我使用MVC构建了一种管理器仪表板。有几个包含表格的div。我有一个XML文件,其中包含这些表的查询字符串。在第一次加载一切正常。现在我必须在每个表上执行一个缩放按钮,将表的数据重新加载到某个ZOOMDiv,所以我需要再次查询表。我有3种方法可以获得它,但我需要最有效率。 1.再次读取xml文件。 2.当我在第一次运行时加载以保持那些查询字符串中的某些变量3.当我第一次运行将查询放入DB ... myeby时有一些更好的方法,我不知道...做什么你觉得呢?

非常感谢。

Hello. I'm new in MVC (and in rest of proggramming :) ) I build a kind of manager dashboard using MVC.there are few divs that contains tables. i have an XML file that contains the querystrings for those tables. on first load everything works fine. now i have to do a zoom button on each table that reloads the table's data to some ZOOMDiv , so i need tables query again. i have 3 ways to get it but i need the most efficiant. 1. read xml file again. 2. when i do load on my first run to keep those querystrings in some variables 3. when i do the first run to put the queries in DB... myeby there is some othere better way , i dont know... what do you think?
Thanks a lot.

推荐答案

这篇关于获取查询字符串的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆