3
Answers

Extract handwritten part from the Document

Rahul Kaushik

Rahul Kaushik

7y
223
1
how do I separate the handwritten part from the pdf in which it has handwritten text as well as printed text. I just want to extract out the handwritten part and save it as another pdf or image.
 
Suppose there is a pdf/image. Need to extract the Handwritten part from that and save it as another pdf/image. 
Answers (3)
0
Daniel

Daniel

NA 4 9.9k 14y
        private void cmdSearch_Click(object sender, EventArgs e)
        {
            SqlConnection sqlNWConn = new SqlConnection();
            SqlDataAdapter daCustomers;
            DataSet dsCustomers;
            String tableName = "Customers";

            sqlNWConn = new SqlConnection(@"Data Source=DANS-MAC--WIN7\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True");

                    if (radioAll.Checked == true)
                    {
                        try
                        {
                            sqlNWConn.Open();
                            dsCustomers = new DataSet();                                                // Creates a new DataSet
                            daCustomers = new SqlDataAdapter("select * from Customers", sqlNWConn);     // Creates a new SqlDataAdapter with select command and connection
                            SqlCommandBuilder cmdBldr = new SqlCommandBuilder(daCustomers);             // Fills in insert, update, and delete commands
                            daCustomers.Fill(dsCustomers, tableName);                                   // Fills the dataset
                            dataGridCustomers.DataSource = dsCustomers;
                            dataGridCustomers.DataMember = tableName;
                        }
                        catch
                        {
                            MessageBox.Show("there was an error and your code is crap"); // error will be changed when working
                        }
                    }

                    if (radioName.Checked == true)
                    {
                          // Searches value in txtSearch in table Customer ContactName
                    }
          }
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 14y
You seem to be feeling panicked. Have a little fun with Database Table Update in a DataGridView without Writing Code.