C#2010编的数据库系统的界面 两个错误求解 编译器错误CS1061和CS0103
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace 航空机票预订管理系统
{
public partial class login : Form
{
public static bool canlog = false;
public string struser = "";
public int UType = 0;
private DataTable ds = new DataTable();
private DataRow myrow;
private string sendstrsql = "SELECT * FROM 员工";
//查用户表语句
public login()
{
InitializeComponent();
}
private void btn_login_Click(object sender, EventArgs e)
{
LinkDatabase link = new LinkDatabase();
this.ds = link.dsresult(sendstrsql);
for (int i = 0; i < ds.Rows.Count; i++)
{
this.myrow = ds.Rows[i];
if (myrow[0].ToString().Trim() == this.txt_ID.Text.ToString().Trim() && myrow[1].ToString().Trim() == this.txt_pw.Text.ToString().Trim())
{
canlog = true;
struser = myrow[0].ToString().Trim();
UType = Convert.ToInt32(myrow[2]);
this.Close();
return;
}
}
MessageBox.Show("您输入的用户名或密码不正确!");
return;
}
&n