| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 226 人关注过本帖
标题:新手求帮忙找下错,顺便帮忙改一下
只看楼主 加入收藏
jin7522340
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2012-4-14
结帖率:50%
收藏
 问题点数:0 回复次数:0 
新手求帮忙找下错,顺便帮忙改一下
using System;
using System.Collections.Generic;
using
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using

namespace WindowsFormsApplication2QXT111
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
        StreamReader myReader = new StreamReader(@"H:\t639\T639GSI\H_4\500\12041520.000",Encoding.GetEncoding("GB2312"));
        string myline = "";
            while(myline=myReader.ReadLine()!=null)
            {
            richTextBox1.AppendText(myline.ToString()+"\r\n");
            }
            myReader.Close();
        }
    }
}
运行时出俩错1  错误    1    无法将类型“bool”隐式转换为“string”   
                       2    错误    2    当前上下文中不存在名称“richTextBox1”   
搜索更多相关主题的帖子: public private void 
2012-04-20 17:11
快速回复:新手求帮忙找下错,顺便帮忙改一下
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013056 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved