I read image by using OpenFileDialog. Sample code is below:
openFileDialog1.ShowDialog();
if (openFileDialog1.FileName != null)
if (picBoardImage.Image != null)
{
picBoardImage.Image.Dispose();
}
picBoardImage.Image = Image.FromFile(openFileDialog1.FileName);
I want to store this image in datatable. How can I do that?