Sheetal Amolik
2011-Feb-10 05:19 UTC
[Ironruby-core] Connect to Sql server with Ironruby for windows phone 7
Hi, I am developing a project for Windows Phone 7 using Ironruby. However I am not able to add referencec for Database connectivity. and even not able to add dll System.data. When I include Syste.data dll in .rb file, I get exception as "NotImplementedException" in my .xaml.cs page Please provide solution for this. Regards, Sheetal Attachments: http://www.ruby-forum.com/attachment/5881/DBConnectruby.rb -- Posted via http://www.ruby-forum.com/.
Tomas Matousek
2011-Feb-10 06:08 UTC
[Ironruby-core] Connect to Sql server with Ironruby for windows phone 7
Require should work if you pass a full assembly name ("System.Data, Version=..., Culture=..., PublicKyeToken=..."). Or you can load the assemblies via Hosting API ScriptRuntime.LoadAssembly. Tomas -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Sheetal Amolik Sent: Wednesday, February 09, 2011 9:20 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Connect to Sql server with Ironruby for windows phone 7 Hi, I am developing a project for Windows Phone 7 using Ironruby. However I am not able to add referencec for Database connectivity. and even not able to add dll System.data. When I include Syste.data dll in .rb file, I get exception as "NotImplementedException" in my .xaml.cs page Please provide solution for this. Regards, Sheetal Attachments: http://www.ruby-forum.com/attachment/5881/DBConnectruby.rb -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core