I have two filed Name and Image on my page. I want to save these two thing in database and also view all saved data.
I used PhotoChooserTask to choose image and saved that image in isolated storage and also save image path in database using follwoing code.
CategoryVO newCategory = new CategoryVO()
{
Name = txtCategoryName.Text,
ImagePath = txtCategoryName.Text.Trim() + ".jpg"
};
Expdb.Category.InsertOnSubmit(newCategory);
Expdb.SubmitChanges();
I dont know how to save image path in databse table means what is the path of image which I saved in isolated storage and how to bind images into datagrid from those path.