弹出包含下拉列表如何填充列表项。 [英] Pop up contains drop down lists how to populate with list items.

查看:66
本文介绍了弹出包含下拉列表如何填充列表项。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我有一个按钮,点击一个弹出按钮,我有两个下拉列表如何用列表项填充下拉菜单。



和我的下拉列表项有值字段,我有一个保存字段,如果我点击保存,我的弹出数据应保存在数据库中..



如何编写查询以保存下拉列表值字段..



例如我的列表项是abc,如果我点击保存,它的值为001弹出它应该在数据库中保存001





想法??

建议??



我尝试了什么:



我知道如何在页面加载时填充下拉菜单但是不知道如何在弹出的窗口中这样做..这个弹出窗口是一个自动弹出窗口..

Hello i have a button, on click of a button a pop up comes, in that i have two drop down lists how to populate the drop downs with list items.

and my drop downs list items have value field , i have a save field for my pop up if i click save the data should be saved in database..

how to write the query to save the drop down lists value field..

for example my list items is abc and its value is 001 if i click save in the pop up it should save 001 in database


ideas??
suggestions??

What I have tried:

I know how to populate drop downs on page load but dono how to do it in pop up windows.. this pop up is a bootstrap pop up..

推荐答案

阅读所有这些并开始

Bootstrap Modals [ ^ ]

使用ASP.NET中的数据库绑定DropDownList [ ^ ] br />
使用C#和VB.Net将DropDownList选择的值保存(插入)到ASP.Net中的数据库 [ ^ ]

将DropDownList的选定数据保存到数据基于ASP.Net使用C# [ ^ ]
read all these and start
Bootstrap Modals[^]
Binding DropDownList With Database in ASP.NET[^]
Save (Insert) DropDownList Selected Value to Database in ASP.Net using C# and VB.Net[^]
Save Selected Data of DropDownList to Database in ASP.Net Using C#[^]


这篇关于弹出包含下拉列表如何填充列表项。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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