Skip to main content

Microsoft Silverlight

Unanswered Question Daynamic SQL in SilverLightRSS Feed

(0)

rohitnegi09
rohitnegi09

Member

Member

2 points

63 Posts

Daynamic SQL in SilverLight

Is SilverLight support Dyanamic SQl ? actually in sp i am using exec table so i don't get the  reference of sp in IService.cs so i want to know that Daynamic SQL don't support SilverLight?

 

Thanks

dtgreer
dtgreer

Member

Member

13 points

63 Posts

Re: Daynamic SQL in SilverLight

 Can you please elaborate? Yes, you can use Linq to Sql to generate dynamic queries.

 

 

This post has some links which you might find useful.

 

http://silverlight.net/forums/t/64310.aspx

 

 

 

rohitnegi09
rohitnegi09

Member

Member

2 points

63 Posts

Re: Re: Daynamic SQL in SilverLight

i am using a stored pocedure in which we pass multiple value of a column means there is column  CA which having more tahn one value like i am passing 'A,B,C' so i want to fetch data from passing theses Ca value.

and also pasing table name daynamically.so i create i temp table and using exec (Dynamic SQl).

now when i execute that procedure it works fine but when we want to take a reference in to

IUI_Service.cs firl  teh we are not able .so can u help me on this problem

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft

Re: Re: Daynamic SQL in SilverLight

Hi Rohitnegi09,

rohitnegi09:
now when i execute that procedure it works fine but when we want to take a reference in to

IUI_Service.cs firl  teh we are not able .so can u help me on this problem

 

We are a little confused by your description.  Generally, we use WCF or Web Service to communicate with the Database. In this condition, we call the procedure just as we did in normal aspx pages.  Please take a look at this video tutorial.

If I have something misunderstood you, please feel free to let me know with more information.

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities