Posts by hmenezes • 57 points
5 posts
-
0
votes0
answers27
viewsQ: Deleting an image in the form
I need to delete one image at a time from my bank, I have a table n:m and I’m unable to delete the image. Follow part of the method to delete the image. public function deleteImg(Imagem $imagem) {…
-
1
votes1
answer335
viewsQ: Saving multiple images
I’m not able to save multiple images in my database, follow my code below to in the highlighted line with the arrow (-->). Observing: when it was just a normal saving image. public function…
-
0
votes2
answers75
viewsA: Conversion of bank image to use in a background
Solved @Murarialex, thank you so much for your help! Follow the code I used to solve my problem: public static ImageBrush GetBrushFromImageUri(string uri) { string filePathRelativeToAssembly =…
-
2
votes2
answers75
viewsQ: Conversion of bank image to use in a background
I am using the following code to put buttons with each category name, however I am not able to (I am not able to search) convert the background image, just give me the tostring option. {…
-
2
votes1
answer34
viewsQ: Filtering result by category
using (ObjectContext ctx = new ObjectContext("name=kinectEntities")) { ctx.DefaultContainerName = "kinectEntities"; ObjectSet<produtos> query = ctx.CreateObjectSet<produtos>(); foreach…