PDA

Click to See Complete Forum and Search --> : Wpf Browser application datagrid


Rizzo25
Jan 3rd, 2010, 07:17 AM
Hello All

Would appreciate some pointers, Iam trying to create a wpf browser application with a datagrid using vb 2010. The datagrid is bound to a dataset from sql server. When i run the application the browser display the grid but no data is shown. If i do the same creating a wpf application then the data is shown. I guess it must be to do with a wpf browser application.

Tia

Rizzo25

chris128
Jan 6th, 2010, 11:11 AM
Its probably a permissions/trust issue - I tried to make an app a few weeks ago in a WPF browser application (XBAP) and eventually just gave up and made it a normal WPF app because there were so many things that you couldnt do because of trust problems. I seem to recall one problem I had was connecting to a database, so perhaps this is the same issue. How are you getting the data from your SQL database to the dataset in the XBAP, is it passed through a web service or WCF service or something like that or are you just trying to directly pull data from SQL in the XBAP?

Rizzo25
Jan 9th, 2010, 03:02 PM
Thanks for the reply, was thinking it might be a permission/trust myself. set the program for full trust, had no effect. iam pulling the sql data to dataset directly.
I have looked every where for a solution but can't seem to find one.

Cheers

Rizzo25