如何将TextBox绑定到页面上不是DataSource的表。 [英] How to bind a TextBox to table that is not a DataSource on page.
本文介绍了如何将TextBox绑定到页面上不是DataSource的表。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将一些文本框绑定到几个不同的表,它们所在的页面位于带有数据源的表单视图中。这些文本框的值来自数据库中的不同表。使用下拉列表这很容易,但我不能用b $ b来弄清楚如何使用常规文本框来完成它。我错过了什么?
I want to bind some textboxes to several different tables, the page they reside on is in a formview with a datasource. The values for these textboxes come from different tables in the database. This is so easy to do with a dropdownlist and yet I can't figure out how to do it with a regular textbox. Am I missing something?
推荐答案
嗨大卫,
这是一个ASP.NET问题吗?您可能需要转到http://forums.asp.net/。
Is this an ASP.NET question? You may need to goto http://forums.asp.net/ for this.
对于任何误解,我们深表歉意。
Sorry for any misunderstood.
这篇关于如何将TextBox绑定到页面上不是DataSource的表。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文