如何将数据库值分配给文本框 [英] How do i assign database value to a text box

查看:76
本文介绍了如何将数据库值分配给文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 < tag>
这使我发疯,请您解释一下如何将数据库值分配给文本框.
< tag>

问候
Lancy

Hi <tag>
This one is driving me crazy could you please explain how to assign database value to a text box.
<tag>

Regards
Lancy

推荐答案

能否请您详细说明此问题

您是在谈论从数据库中获取值并将其显示在UI上吗?
Can you please elaborate this question

Are you talking of fetching value from database and showing it on UI ?


在代码项目中查看此文章.可能会对您有帮助

ADO.NET 101:SQL连接 [使用MySQL数据库的ASP.NET应用程序 [
Check this articles in code project. May be this will help you

ADO.NET 101: SQL Connection[^]

An ASP.NET Application Using a MySQL Database[^]


Select your data from database using Select query
and assign its value to a text box using
Text property of textboxes


引用此链接:

http://www.dreamincode .net/forums/topic/126897-getting-value-from-database-table-and-fired-it-into-textbox/ [
Refer this link:

http://www.dreamincode.net/forums/topic/126897-getting-value-from-database-table-and-fired-it-into-textbox/[^]


这篇关于如何将数据库值分配给文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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