private void btnStoreProceudre_Click(object sender, EventArgs e) { con = new SqlConnection(sqlCon); string[] strCmd = Regex.Split(txtInUpDel.Text, "GO"); con.Open(); SqlCommand cmd; foreach (string s in strCmd) { string temp = s.Replace("text(2147483647) ", "varchar(max)"); cmd = new SqlCommand(temp, con); cmd.ExecuteNonQuery(); } strCmd = Regex.Split(txtSelect.Text, "GO"); foreach (string s in strCmd) { string temp = s.Replace("text(2147483647) ", "varchar(max)"); cmd = new SqlCommand(temp, con); cmd.ExecuteNonQuery(); } con.Close(); //MessageBox.Show("Database aktarım tamamlandı"); frmEntities frm = new frmEntities(); frm.Show(); }
private void btnSkip_Click(object sender, EventArgs e) { frmEntities frm = new frmEntities(); frm.Show(); }