i am using vs2015 ,
my database table columns is regno,name,dob,image
my retrive form code is..
if (DS.Tables[0].Rows.Count > 0)
{
textBox2.Text = DS.Tables[0].Rows[0].ItemArray[0].ToString();
textBox3.Text = DS.Tables[0].Rows[0].ItemArray[1].ToString();
comboBox1.Text = DS.Tables[0].Rows[0].ItemArray[3].ToString();
comboBox7.Text = DS.Tables[0].Rows[0].ItemArray[4].ToString();
comboBox2.Text = DS.Tables[0].Rows[0].ItemArray[5].ToString();
comboBox3.Text = DS.Tables[0].Rows[0].ItemArray[6].ToString();
MemoryStream MS = new MemoryStream((byte[])DS.Tables[0].Rows[0]["IMAGE"]);
pictureBox1.Image = new Bitmap(MS);
MessageBox.Show ("SEARCH FINISHED");
}
how to datetime picker to retrive dob values?
5 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted Mar 27, 2017, 4:12 AM
Legent MadyPosted Mar 27, 2017, 3:30 AM
Rafnas T PPosted Mar 27, 2017, 2:57 AM
Legent MadyPosted Mar 27, 2017, 2:47 AM
Rafnas T PPosted Mar 27, 2017, 2:25 AM