来自asp.net的数据 [英] Data retrive fro asp.net
本文介绍了来自asp.net的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用以下代码检索数据后,如何在文本框中的(ds)中填充数据?
After retrive the data using the following code how should I fill data in (ds) in my textbox?
推荐答案
哇!隐形代码!你可以暂时看一下它,这样我们也可以查看它吗?
Wow! Inisible code! Can you make it visible for a moment so that we too can have a look at it?
如果要将数据从ds显示到文本框,那么只需使用下面的代码
显示第一行和第二列值
Vb.net代码..
Textbox.Text = ds.Tables(0).Rows(0).Item(0).ToString
如果有的话,请告诉我。查询以上内容:)
if you want to display data from ds to your textbox then simply use below code
its shows first row and column value
Vb.net code..
Textbox.Text = ds.Tables(0).Rows(0).Item(0).ToString
Let me know if any query for above :)
这篇关于来自asp.net的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文