Skip to main content

Microsoft Silverlight

Advanced Forum Search Results

  • Re: Cannot convert from 'int?' to 'int'

     Yes, it is an integer.
  • Cannot convert from 'int?' to 'int'

    Problem with my LINQ query here...               var atts = from attr in db.Attributes                          where ...
  • LINQ: Pass parameter to query

    I have a couple checkbox on my Page.xaml page.  I'm pulling data from the DB and I'd like it to be filtered based on what is checked.  I'm passing a list of strings containing the content of the checkboxes that were checked.  But I don't know how to pass the list to the query.  Here's what I ...
  • Image click event

    I have a listbox that contains a list of images.  When I click on an image, I'd like the image to load in the image control next to it.  But for some reason, the image won't load when I click on an image in the listbox. Here's my XAML:             <ListBox ...
  • Re: Need some help with a query and LINQ

    [quote user="SteveWong"] You should create a function return bool and do a foreach Of course, you should also get the list of attribute list of all photos For the function, what you have to pass is the attribute name, only pass one, then check if the corresponding check box is checked or not, and return the bool. For the foreach, it ...
  • Need some help with a query and LINQ

    Let me show my small DB schema first: --------------------------------------------------------- tblPhotos --------------------------------------------------------- PhotoID  |  ...
  • Use ListBox as Image Slider

    Right now I am using a ListBox to list several images that I've loaded.  The only thing is that I don't like the scrollbar on the ListBox.  I'd like to eliminate it and have buttons at either end to scroll through the images.  Is there any way to do this?
  • Installed Silverlight 2 Beta 2, it crashed VS and now I can't create SL apps

    I already have Silverlight 2 on my computer.  So I was surprised when I clicked on one of the showcase examples on the front page and it told me that I needed to install Silverlight.  So I did, and it installed Silverlight 2 Beta 2 on my computer. Well now I go to open a Silverlight application that I've been working on, and as it ...
  • Setting the Image Source

    I'm binding images inside a listbox to a database.  The DB contains the names of the images, like "picture.jpg".  The problem is that when I'm binding the images, it will only look in the root directory to output the images, but the images are located in a folder called "images".  And I have no idea how ...
  • Re: Very simple photo gallery

    [quote user="mchlSync"] [quote user="Apples"]Should I use a DataGrid for the list of thumbnails? [/quote]  Yes. Sometimes, people use listbox but I think Datagrid should be okay too.  There are a lot of examples related to Photo Gallery in Silverlight Gallery ...
1 2 3 Next >
Microsoft Communities