473,662 Members | 2,593 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 4593
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.WebE xception: The remote server returned an error: NotFound ---> System.Net.WebE xception: The remote server returned an error: NotFound
at System.Net.Brow serHttpWebReque st.InternalEndG etResponse(IAsy ncResult asyncResult)
at System.Net.Brow serHttpWebReque st.<>c__Display Class5.<EndGetR esponse>b__4(Ob ject sendState)
at System.Net.Asyn cHelper.<>c__Di splayClass2.<Be ginOnUI>b__0(Ob ject sendState)
--- End of inner exception stack trace ---
at System.Net.Asyn cHelper.BeginOn UI(SendOrPostCa llback beginMethod, Object state)
at System.Net.Brow serHttpWebReque st.EndGetRespon se(IAsyncResult asyncResult)
at System.Net.WebC lient.GetWebRes ponse(WebReques t request, IAsyncResult result)
at System.Net.WebC lient.DownloadB itsResponseCall back(IAsyncResu lt result)
The program '[7316] WebDev.WebServe r.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
2600
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 : http://www.microsoft.com/silverlight/default.aspx http://www.microsoft.com/silverlight/why-compelling.aspx http://silverlight.net/Default.aspx
4
1700
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 Silverlight?
2
2004
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
4200
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
1679
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 first-class newsgroup? -KF
3
3954
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 to make conferencing solutions. As far as I read in ohter posts Silverlight 2 is not able to do this unless you use a McGyver style (http://jonas.follesoe.no/PermaLink,guid,7f8857dc-5f37-4a8a-bd35-fd4b624af45b.aspx).
1
2846
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 silverlight client to Silverlight streaming service. I tried to user WebClient and HttpWebRequest for that purpose but, unfortunately I can found the way to do so. There are some problems with both classes. 1. There is no property of get...
13
3990
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 http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.framework.aspnet&mid=e9a38d03-83a8-41fc-8950-5ee60d2a18a5. I have a web site under .NET 2.0 that renders videos using the Silverlight media player. When I stream the video file (.wmv) to the browser via a hard-coded link to the file,...
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8764
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8546
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7367
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5654
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1993
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.