protected void Button1_Click(object sender, EventArgs e) { csByTextBox result = new csByTextBox(); result.data = this.txtEditorContents.Text; db.csByTextBox.InsertOnSubmit(result); db.SubmitChanges(); Response.Redirect("WebForm4.aspx"); }
partial void DeletecsByTextBox(csByTextBox instance);
partial void UpdatecsByTextBox(csByTextBox instance);
partial void InsertcsByTextBox(csByTextBox instance);