Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个存储过程,它返回一行或不返回行(0-1 行),我使用 DataSet,所以我将我的存储过程添加到我的数据集中,然后我调用它。现在我想将文本框的 Text 属性绑定到返回行的字段,我该怎么做?
试试这个..
textbox.text=DtSet.Tables[0].Rows[0]["database column name"].ToString();