public bool Kayit_Ekle()
        {
            sorgu = string.Format("Insert Into [{0}] ([SERVİS FORM NO],[ÇAĞRI NO]) Values ({1},{2})", sheet, formno,cagrino);
            cmd = new OleDbCommand(sorgu, Baglan());
            cmd.Parameters.AddWithValue("@{2}",cagrino);
            int etkilenen = cmd.ExecuteNonQuery();
            if (etkilenen == 0)
            {
                return false;
            }
            else
            {
                return true;

            }



        }

Hello there,
I am writing recording program with c #. but I'm saving to excel. My question would be: I note excel data but does not start from the first row for example, it starts to record the thousandth continue to lower the bottom line .
my goal is to go down to the bottom line at a time to start recording from the first row .

Sorry for my bad english , I use translation .

Edited 10 Months Ago by emin_2

This question has already been answered. Start a new discussion instead.