如何使用getvalue从数据库中获取值 [英] how to get values from database using getvalue
本文介绍了如何使用getvalue从数据库中获取值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用读者类的一个属性是getvalues
1)if(text.Text == sdr.GetValues [0] .ToString())
2)lbl.Text = sdr.GetValue [0];
i尝试了大部分方式
但是它创建错误
i m using the one property of reader class is getvalues
1) if(text.Text == sdr.GetValues[0].ToString())
2)lbl.Text = sdr.GetValue[0];
i tried most of all ways
but it creates error
推荐答案
看看这个清晰度 [ ^ ]了解如何使用它。
Have a look at this articel[^] to get an idea on how to use this.
这篇关于如何使用getvalue从数据库中获取值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文