while (null != (strLine = sr.ReadLine())) 中第二个等号是什么含义 while (null != (strLine = sr.ReadLine())) 最好改成如下while(sr.Peek() != -1){ strLine = sr.ReadLine(); ////} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 他的整个语法是: while (null != (strLine = sr.ReadLine())) { strBuilder.Append(strLine+"<br>"); }我想知道如何把这句换成VB 等于strLine = sr.ReadLine();while (null != strLine){ strBuilder.Append(strLine+"<br>");} 少了一句strLine = sr.ReadLine();while (null != strLine){ strBuilder.Append(strLine+"<br>"); strLine = sr.ReadLine();} 其实就是先从sr读一行进来,赋值给strLine,然后判断strLine是不是为null,在不等于null的时候循环vb的话:strLine = sr.ReadLine()do while (strLine != null ) ......loop .net中弹出图层,图层可以移动,图层页面可以和其他页面一样和数据库交互 FCKEditor的上传文件路径问题(在线等) 求 CSDN 社区左边列表 实现办法 图片上传类似水印问题 如何用鼠标直接点击gridview中的任意位置来选择行? 抓取网页内容插入数据库 有没有三星数据的朋友 ★★★求助一个简单的关于使用自定义控件问题★★★ 怎样在Asp.NET页面上动态的加载几个控件? 怎么做网站的中/英文版本 char[] chSplit = {'.'}; 这句C#用VB怎么写? 本人想做个在线影院,各位能不能提供些资料参考
{
strBuilder.Append(strLine+"<br>");
}我想知道如何把这句换成VB
strLine = sr.ReadLine();
while (null != strLine)
{
strBuilder.Append(strLine+"<br>");
}
strLine = sr.ReadLine();
while (null != strLine)
{
strBuilder.Append(strLine+"<br>");
strLine = sr.ReadLine();
}
vb的话:
strLine = sr.ReadLine()
do while (strLine != null )
......
loop