将文本从VB.NET控制台显示到GridView中 [英] displaying text from VB.NET Console into GridView

查看:118
本文介绍了将文本从VB.NET控制台显示到GridView中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想知道是否有可能将我的文本结果从VB.NET控制台应用程序显示到asp.net页中的GridView.


一方面,我有一个带有GridView的ASP.NET页面,该页面显示来自SQL Server数据库的数据.例如,带有x列的4行

另一方面,我的VB.NET控制台显示4行,例如:
PWD1
PWD2
PWD3
PWD4

我想将这些行放到第一个显示其他数据的GridView中,或者放到第一个紧挨着所有数据的新行中.


在此先感谢

最好的问候

Samuel

Hi,

I would like to know if it''s possible to display my text result from a VB.NET Console application to a GridView in a asp.net page.


In one hand I have a ASP.NET page with a GridView which displays data from SQL Server data base. eg 4 lines with x columns

In the other hand i have my VB.NET Console which displays 4 lines eg:
PWD1
PWD2
PWD3
PWD4

I would like to put theses lines into the GridView in the first one which displays the other data or in a new one next to the first with all the data...


Thanks in advance

Best Regards

Samuel

推荐答案

不能在数据库中创建临时表,将控制台应用程序中的4个字符串保存到temp表中,然后按照可以从您的ASP.Net页面正常吗?
Couldn''t you create a temporary table in the database, save the 4 strings from the console app into the temp table, then retrieve the values as per normal from your ASP.Net page ?


我不能,因为我没有权利. :(
I couldn''t because i don''t have the right. :(


这篇关于将文本从VB.NET控制台显示到GridView中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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