使用泛型从数据库访问数据并将其写入文本框 [英] using generics to access data from database and writing it to textboxes

查看:58
本文介绍了使用泛型从数据库访问数据并将其写入文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

泛型将数据作为字符串重新绑定,然后将其拆分并显示在3-4个文本框中,这些文本框可进一步用于计算.

Generics retieving data as a string,then spliting that data and showing them in 3-4 textboxes,which can b used for calculations further.

推荐答案

在文本中框,它们仍然是字符串.但是,在计算中,需要将字符串转换为适当的数据类型,例如整数,时间,双精度数等.我认为这就是您要的内容.
In text boxes, they are still strings. However, in calculation, the string need to be converted to a proper data type, like integer, time, double, etc. I assume this is what you are asking.


这篇关于使用泛型从数据库访问数据并将其写入文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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