locked
baner and data update on it RRS feed

  • Question

  • Hello

    I'm trying to create a baner (expression blend) with animation function (I can do this),
    but I would like to change data in TextBlocks or update the data in them
    - which I will get from SQL Server. How can I do this??? Is it possible?

    Puropse: By changing the data in SQLServ. (by some other aplication),
    I want to change the content of the TextBlock (without the need to start
    expression blend). In other words: I'm creating baner - commertial branch
    is updateing the content without the need to edit the baner.

    any help? please.

    Smile 

    Marcin

     

    // I wolud like to go this in Silverlight 1

    Thursday, January 29, 2009 11:10 AM

Answers

  •  Hello,
    Thank you for your advice,

    I have no idea - how to bind the xaml with aspx:

     so my question is:

    - is it possible, how to do it :
    to load silverlight application in aspx (I know how xap file load - may I load xaml??) , and change
    for example TextBlock.Text in silverlight app. from variables, which I have in aspx

    any idea? I will realy appreciate any help...

     

     

    from other threat -> I use:
    http://silverlight.net/learn/tutorials/sqldatagrid_vb.aspx
    to connect to database (with my data), and at end I  change on:

    Private Sub webService_GetCustomersByLastNameCompleted( _
         ByVal sender As Object, _
         ByVal e As ServiceReference1.GetCustomersByLastNameCompletedEventArgs)
        theDataGrid.ItemsSource = e.Result
    End Sub

      I  changed this to generate the baner I mentioned,
     

    Thanks, bye :)

      

    Tuesday, February 3, 2009 8:21 AM

All replies

  • You can bind the banner info via XML, similar to how Flash handles it. Here's a pretty basic tutorial that walks you through it: http://www.kirupa.com/blend_silverlight/loading_xml_sl2_pg1.htm
    • Proposed as answer by VLTII Thursday, January 29, 2009 5:08 PM
    • Unproposed as answer by Marcin Pankowski Monday, February 2, 2009 9:40 AM
    • Proposed as answer by VLTII Wednesday, February 4, 2009 7:38 PM
    • Unproposed as answer by Marcin Pankowski Friday, February 6, 2009 10:36 AM
    • Unproposed as answer by Marcin Pankowski Friday, February 6, 2009 10:38 AM
    Thursday, January 29, 2009 5:07 PM
  • I will check this - but I'd like to get the specified data(from SQLServ. or txt file) into specified textBlock.

    thank you for your help


    Friday, January 30, 2009 8:26 AM
  •  Hello,
    Thank you for your advice,

    I have no idea - how to bind the xaml with aspx:

     so my question is:

    - is it possible, how to do it :
    to load silverlight application in aspx (I know how xap file load - may I load xaml??) , and change
    for example TextBlock.Text in silverlight app. from variables, which I have in aspx

    any idea? I will realy appreciate any help...

     

     

    from other threat -> I use:
    http://silverlight.net/learn/tutorials/sqldatagrid_vb.aspx
    to connect to database (with my data), and at end I  change on:

    Private Sub webService_GetCustomersByLastNameCompleted( _
         ByVal sender As Object, _
         ByVal e As ServiceReference1.GetCustomersByLastNameCompletedEventArgs)
        theDataGrid.ItemsSource = e.Result
    End Sub

      I  changed this to generate the baner I mentioned,
     

    Thanks, bye :)

      

    Tuesday, February 3, 2009 8:21 AM