我们如何通过radiobuttonlist在sql server数据库中插入值? [英] how we can insert values in sql server database through a radiobuttonlist?

查看:179
本文介绍了我们如何通过radiobuttonlist在sql server数据库中插入值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为asp.net中的一家酒店创建一个菜单卡。因为我正在使用radiobuttonlist control.is还有其他选择?????我如何将值插入数据库?????

i am creating a menu card for a hotel in asp.net.for this i am using radiobuttonlist control.is there any other choices?????how can i insert the values to database?????

推荐答案

获取所选项目并将其值(或其索引,具体取决于数据库设计)分配给数据库中的相应字段。
Get the selected item and assign its value (or its index, depending on database design) to the corresponding field in the database.


这篇关于我们如何通过radiobuttonlist在sql server数据库中插入值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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