+ -
当前位置:首页 → 问答吧 → .NET
  • 读取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 + 阅读全文
  • 如何将从数据库查询得到的id放到arraylist中?
    如何将从数据库表tableC查询得到的id放到arraylist中?
    scorpio78787878  时间: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 + 阅读全文