如何创建c#搜索表单 [英] how to create c# search form

查看:64
本文介绍了如何创建c#搜索表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我想知道哪一个更好,使用插入更新删除表格或其他形式的相同表格中的搜索按钮

解决方案

那完全取决于您的项目及其包含的表格 - 以及数据和数据来源。



没有一种解决方案适用于所有应用程序,只需因为没有一种形式的交通工具适合所有旅程。



想想你想要做什么,想想用户将如何与之互动,让用户的生活尽可能简单明了。不要试图强迫用户使用this method或that method,因为它对你来说是最好的 - 实现对他有用的东西,并且与应用程序的其余部分保持直观和一致。

您可以创建JSON对象。当你做ajax post时,把它传递给控制器​​。


hi I want to know which one is better make search button in the same form with insert update delete form or in another form

解决方案

That depends entirely on your project and the forms it contains - and the data, and source of that data.

There is no single solution which will work for all applications, just as there isn't a single form of transport that works for all journeys.

Think about what you are trying to do, think about how the user will interact with it, and make the users life as easy and simple as possible. Don't try to force the user to use "this method" or "that method" because it is "best" for you - implement what will work for him, and be intuitive and coherent with the rest of the application.


You can create JSON object. Pass it to controller when you do ajax post.


这篇关于如何创建c#搜索表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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