如何检测文本文件是否到结尾? tryDim myFile As StreamReader = New StreamReader(Server.Mappath("tt.txt"), System.Text.Encoding.Default)label1.Text = myFile.ReadToEnd()myFile.Close() 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 text = myFile.ReadLine()do while not (text is nothing) text = server.HtmlEncode(text) label1.Text = label1.Text & text & "<br>" text = myFile.ReadLine()loopmyFile.Close() 为过程或函数sp_u_userinfo 指定了过多的函数,请高手指教 JavaScriptSerializer 序列化json 时间格式 datalist绑定图片(image类型),图片就是不显示,代码帖出来大家帮忙看看 数据逻辑问题 请问一下添加按纽的单机属性,为什么验证控件就失效了? 群:16990194 treeview的问题 asp.net 如何实现3D效果的图书柜放置图? SQL查询语句错误??? 如何制作自己的WEB服务器控件? 初学者的问题; 头痛的问题。关于从数据库中取出日期后格式会改变。
do while not (text is nothing)
text = server.HtmlEncode(text)
label1.Text = label1.Text & text & "<br>"
text = myFile.ReadLine()
loop
myFile.Close()