I create a GridView App and i want to bind the images in the GridView to values that i get it from web service,i received the images as strings(binary)
i use C# programing language and Sql Server data base
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to get a list from the web service, convert it to a list of BitmapImage objects that specify UriSource based on the source list and bind that list to GridView.ItemsSource. Then set GridView.ItemTemplate/DataTemplate to an Image that binds its Source to the BitmapImage in the collection.
You probably want your web service to talk to SQL Server – I suppose you can use ADO.NET, Entity Framework or other such things.