• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1832
  • Last Modified:

Silverlight Gridview?

I am very new to Silverlight and i cannot seem to figure out howto get a gridview into the silverlight page and set the datasource..

Maybe i am looking at this wrong but i have seen many examples of this online but i cannot seem to get this right in my project.

If you can help that would be awesome!!!

I am Very well versed with Asp.net and VB.  So i am not completely incompetent with asp.net
0
phoenixfire425
Asked:
phoenixfire425
  • 3
  • 3
  • 2
  • +3
1 Solution
 
phoenixfire425Author Commented:
I looked at both of these links and i am still very confused about this.

Both of the link were talking about XML databinding..

I am looking to Pull Data From a SQL DB.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
phoenixfire425Author Commented:
I am not using Telerik Controls.
I guess i cannot really understand how this works because all of these examples are using XML Queries and i want to use SQL.

Is it possible that i can see an example of an actual grid with the SQL query of

SELECT     item_id, item_desc, extended_desc
FROM         dbo.p21_view_inv_mast
WHERE     (delete_flag = 'N')

and the connection string.
the SQL server just make it SQL_Server
User: TEST
PASS: PASSWORD


Thank You
0
 
phoenixfire425Author Commented:
bump..
0
 
copyPasteGhostCommented:
http://mattberseth.com/blog/2008/03/live_demo_of_scottgus_silverli.html will lead you to  ScottGu's blog. it contains a 8 part tutorial about silverlight. Databinding is in there. check it out!

CPG
0
 
apeterCommented:
Show us your code, we can take it further from there.
0
 
CodeCruiserCommented:
In my knowledge, Silverlight can not directly connect to databases. The best way of getting data in a silverlight app is to use WCF services.

http://www.c-sharpcorner.com/UploadFile/nipuntomar/DataBindingSilverlightWCFService07152008011652AM/DataBindingSilverlightWCFService.aspx
0
 
CodeCruiserCommented:
Solution was provided.
0
 
CodeCruiserCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now