读取TXT文件问题
StreamReadersr; stringfc; sr=File.OpenText(@"E:\银狐\朋友.txt"); while(sr.Peek()!=-1) { fc=sr.ReadLine(); fc=fc.ToString(); this.Label2.Text+=fc+"
作者: a3781386 发布时间: 12-11
关于response.write
为什么在visualstudio.net2003中使用Response.Write("!!!!");会提示错误,找不到类型或命名空间名称“Response”
作者: Allen_Lin_2012 发布时间: 12-11
谁能帮我把VB的脚本翻译成C#的~
只要我是想在前台写page_load这个事件<scriptrunat="server">subPage_LoadifNotPage.IsPostBackthen dimmycdcatalog=NewDataSet mycdcatalog.ReadXml(MapPath("cdcatalog.xml")) cdcatalog.
作者: shuaicike 发布时间: 12-11
textbox里值的传递
C#code主窗口form1有控件textBox_path.Text里存放着一个txt文件的路径下面是另一个窗口的代码privatevoidbtnOK_Click(objectsender,EventArgse)//确定按钮事件{stringpath=ff.textBox_path.Text;//如何把主窗口form1里控
作者: taozi031 发布时间: 12-11
if (ds.Tables[0].Rows.Count != 0) 出错 无法找到表 0。
usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Collections;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.W
作者: WuMj68 发布时间: 12-11
还是关于VB.net读取txt文件内容的问题
假如我在test.txt文件中存了如下数据:#2#3#4##5#4#3##1#2#4#如何读取每一行的第一个数据,上面的是2、5、1,“#”号算分隔符本人太菜,求详细代码!!!!!高手快快现身,
作者: long0855hang 发布时间: 12-11
C# winform中在load事件中发现异常我要阻止页面初始化怎样控制啊
C#winform中在load事件中发生异常我要阻止页面初始化怎样控制啊!!!
作者: dusen86 发布时间: 12-11
在线 求解 sql
这表customer有3个字段customerid,customername,adress,以customerid,customername作为主键我要去掉重复customer表的数据如下 customerid,customername,address 11111uid 11111yu 如果我这样查询select
作者: ls_zai 发布时间: 12-11
模拟登陆的header
编了一个程序模拟登陆并且POST数据,通过Httpanalyzer抓包看到Ie操作的时候,Connection:Keep-Alive.在程序里所有访问网页的request都设置了request.keepalive=true.但是只有在第一次Get的时候才有Connection:Keep-Alive。。之后的所有Get与Post都没有Connection:Keep-Alive的Heade了。。请各位
作者: leechengwei23 发布时间: 12-11