IsolatedStorage Window Phone 7 -


i have 2 filed name , image on page. want save these 2 thing in database , view saved data.

i used photochoosertask choose image , saved image in isolated storage , 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 save image path in databse table means path of image saved in isolated storage , how bind images datagrid path.

the path of file saved in isolated storage isostore:/your file name

it depends on, in folder saved image. if save file directly without creating folder, isostore:/your file name enough refer image file.

isostore example


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -