示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //linq每个都要实例化
            linq = new DataClasses1DataContext(connectionStr);
            USERS1 user = new USERS1();

            user.USERS1_ID   = textBox1.Text;
            user.USERS1_NAME = textBox2.Text;
            user.USERS1_SAX  = textBox3.Text;

            linq.USERS1.InsertOnSubmit(user);
            MessageBox.Show("新增成功!");
        }
示例#2
0
 partial void DeleteUSERS1(USERS1 instance);
示例#3
0
 partial void UpdateUSERS1(USERS1 instance);
示例#4
0
 partial void InsertUSERS1(USERS1 instance);