# Connect to Sql server with Ironruby for windows phone 7

**URL:** <https://www.ruby-forum.com/t/connect-to-sql-server-with-ironruby-for-windows-phone-7/202992>\
**Category:** IronRuby\
**Created:** [February 10, 2011, 6:19am UTC](https://www.ruby-forum.com/t/connect-to-sql-server-with-ironruby-for-windows-phone-7/202992 "2011-02-10T06:19:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 10, 2011, 6:19am UTC](https://www.ruby-forum.com/t/connect-to-sql-server-with-ironruby-for-windows-phone-7/202992/1 "2011-02-10T06:19:54Z")

</div>

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 refer the attached .rb file.  
Please provide solution for this.  
Regards,  
Sheetal

---

<div class="post-metadata">

**Author:** ![ssag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@ssag](https://www.ruby-forum.com/u/ssag)\
**Post date:** [February 10, 2011, 7:08am UTC](https://www.ruby-forum.com/t/connect-to-sql-server-with-ironruby-for-windows-phone-7/202992/2 "2011-02-10T07:08:59Z")

</div>

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
