从一个视图中搜索并填写记录。 [英] search and fill record from one view.

查看:75
本文介绍了从一个视图中搜索并填写记录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个视图中有两个div。一个div有一个文本框用户填写它并单击搜索按钮。因此,我们从数据库中获取数据表。现在从这个数据表我们想要填写所有文本框

,它们存在于同一视图的其他div中。

i have two div in one view. one div have a text box user fill it and click on search button. due to this we get a data table from database. now from this data table we want to fill up all text box
which are exists in other div on same view.

推荐答案

嗨你应该使用Model绑定属性..

我不能在这里写所有代码。

因为我不知道你想要展示什么。



但请参考 LINK 并找到你在div中显示列表的方式
Hi you should use Model to bind the properties..
I can not write all the code here.
as I don't know what exactly you want to show.

but refer this LINK and find your way to display the list in the div


这篇关于从一个视图中搜索并填写记录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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