using
namespace
{
InitializeComponent();
}
con =
loaddata();
showdata();
cmd =
cmd.CommandType =
adapter.MissingSchemaAction =
ds =
textBox1.Text = ds.Tables[0].Rows[eno][0].ToString();
textBox2.Text = ds.Tables[0].Rows[eno][1].ToString();
comboBox1.Text = ds.Tables[0].Rows[eno][2].ToString();
pictureBox1.Image =
photo_aray = (
openFileDialog1.Filter =
textBox1.Text = textBox2.Text =
comboBox1.Text =
cmd.Parameters.AddWithValue(
conv_photo();
con.Open();
con.Close();
ms =
pictureBox1.Image.Save(ms,
ms.Position = 0;
ms.Read(photo_aray, 0, photo_aray.Length);
drow = ds.Tables[0].Rows.Find(n);
eno = ds.Tables[0].Rows.IndexOf(drow);
textBox1.Text = drow[0].ToString();
textBox2.Text = drow[1].ToString();
comboBox1.Text = drow[2].ToString();
eno = 0;
eno++; showdata();
eno--; showdata();
eno = ds.Tables[0].Rows.Count - 1;
eno = 0; showdata();