i have Two textboxes for upload file the uploades file will be stored in Article Table the DataField is; article=varbinary(max); articleimage=varbinary(max) i Used the Following Coding For Store Data... in That i Want to Parse string To byte how can i parse the textbox input to byte[]
Article magazine = new Article();
magazinearticle.=(txtBook.Text);
magazine.articleimage = txtCover.Text;
Loading
Suthish NairPosted Mar 10, 2011, 10:10 AM
VulpesPosted Mar 8, 2011, 5:22 AM
Krishna GaradPosted Mar 8, 2011, 5:09 AM
http://www.c-sharpcorner.com/UploadFile/krishnasarala/5513/?ArticleID=45b6575c-0677-4029-bc97-4893a85bcd43