473,507 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using silverlight with linq?

57 New Member
hi all,

I am completely new to silverlight.

I have a table in database which i can convert to xml using--

select * from TABLENAME for XML auto, Type, Elements


and save it as a stored procedure.

not i want to use link to access this stored procedure and use it to display something like a workflow (kind of workflow we have in powerpoint)


can some one give me some idea?

is it necessary to use WCF with silverlight if i wanna use link??

or is there someother way?
Mar 5 '09 #1
8 4590
Frinavale
9,735 Recognized Expert Moderator Expert
You do not need to use WCF in order to use LINQ; However, Silverlight is based on WCF. So to answer your question: yes, you have to use WCF because you're developing a Silverlight application; but no, you do not have to be developing a WCF application to use LINQ.

LINQ is available to you as long as you're developing a .NET application that uses the 3.5 .NET Framework.



Once you have the data loaded, it is up to you how you use it to display things.....
What have you tried so far?
Are you getting any errors?
Mar 6 '09 #2
vineetbindal
57 New Member
No i have not tried anything yet. I was looking at few tutorials before using it. I have to do something very interusting but i donno how can i do it. it will be great if you can give me some idea. i have a table in database which is a workflow table. i need to display a workflow something like we have in power point( a number or boxes coonected to each other) each row represents data about a perticuler workflow. for example. if user one is on step a(show it as step a in a rectangular box) next step is b(show it in rectangular box connected to a) some boxes are connected to more than 1 box. in reverse direction too.

It will be great if you can suggest me something.

i am comletely new to silverlight

Regards & Thnaks,

Vineet Bindal
Mar 7 '09 #3
PRR
750 Recognized Expert Contributor
Look at these Silverlight tutorials and
Scott Guthrie
Also check Jesse Liberty
You will have to do some tweaking in the WCF service config ...
Mar 9 '09 #4
vineetbindal
57 New Member
HI Thanks for the links. they are very useful, but somewhere it asks me add a referance to system.windows.controls.data in order to access datagrid in my .cs file i have added the referance to system.windows.controls.data. but when i include it in my class by "using System.Windows.Controls.Data" it gives me error. it is not able to see the Data. can you tell me what could be the problem or how can i resolve it?
Mar 11 '09 #5
Frinavale
9,735 Recognized Expert Moderator Expert
I'm not sure about silverlight applications but you don't normally use DataGridViews in web applications.

I could be wrong here because I haven't actually attempted to use a GridView/DataGrid/DataGridView in a silverlight application....by try using a GridView instead. I this should solve your problem.
Mar 11 '09 #6
vineetbindal
57 New Member
I am sorry i mean GridView not dataGrid. I am using GridView. when i type in "using System.Windows.Controls.Data;" it gives me error the type or namespace name Data does not exist in the name space System.Windows.Controls.Data... I have added this dll in the referance but visual studio is not able to see it?

please help me.
Mar 11 '09 #7
vineetbindal
57 New Member
Hi,

this problem is resolved thanks a lot it was a typing mietake onn my side instead typing data:datagrid i was doing x:name i am sorry for that.

How ever i have a new error // i am following this tutorial http://weblogs.asp.net/scottgu/pages...-datagrid.aspx

whenevr i click search button instead of getting data i just get a white blank page? why?

some has writeen that my adress in browser whould be c://

but its http://localhost:...... am i missing any configuration?
Mar 11 '09 #8
vineetbindal
57 New Member
i am getting this exception


System.Net.WebException: The remote server returned an error: NotFound ---> System.Net.WebException: The remote server returned an error: NotFound
at System.Net.BrowserHttpWebRequest.InternalEndGetRes ponse(IAsyncResult asyncResult)
at System.Net.BrowserHttpWebRequest.<>c__DisplayClass 5.<EndGetResponse>b__4(Object sendState)
at System.Net.AsyncHelper.<>c__DisplayClass2.<BeginOn UI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.AsyncHelper.BeginOnUI(SendOrPostCallbac k beginMethod, Object state)
at System.Net.BrowserHttpWebRequest.EndGetResponse(IA syncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback( IAsyncResult result)
The program '[7316] WebDev.WebServer.EXE: Managed' has exited with code 0 (0x0).
The program '[2144] iexplore.exe: Silverlight' has exited with code 0 (0x0).

please help
Mar 12 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2594
by: Michel Claveau | last post by:
Hi! SilverLight ("MS flash killer"), is a plug-in for InternetExplorer (Win), FireFox (Win), and Safari (Mac). The release 1.1-Alpha come with JScript & Python (or ironPython?) See :...
4
1692
by: m.a | last post by:
Hello, I have MSVC 2005 and I like to learn Silverlight. What do I need and can I get them free (It is just for learning so any restriction is acceptable)? is there any newsgroup about...
2
1992
by: m.a | last post by:
Hello, I installed MSVC 2008 express and I like to install silverlight. Can I do this? Thenone that I got from silverlight web site, complain about msvc version. Regards
18
4184
by: Artificer | last post by:
Any idea if MS will try to promote Silverlight over ASP.NET for web development or will silverlight remain just as a adobe's flash like tecnology?
4
1667
by: Ken Fine | last post by:
I know about this: http://silverlight.net/forums/14.aspx and this: http://forums.asp.net/1127.aspx Silverlight Beta 2 was announced at TechEd. I was impressed. When does Silverlight get a...
3
3948
by: =?Utf-8?B?TWFyYw==?= | last post by:
Dear all have a msdn subsciption and was wondering if I can post a Silverlight question here. I was wondering if Silverlight gives webcam support like flash does this. With this, it is possible...
1
2833
by: Faisal Shafiq | last post by:
I want to upload a file direct to the Silverlight Streaming Service from a Web Client such as silverlight application. As per our product requirement we want to upload a .WMV file directly from...
13
3965
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
This is a follow-up to my post "Silverlight video doesn't work when file is streamed from handler in ASP.net" at...
0
7223
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7314
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7482
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5041
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.