<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problems updating a table</title><link>https://www.infopathdev.com:443/forums/thread/12242.aspx</link><pubDate>Wed, 12 Jul 2006 15:51:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12242</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12242</wfw:commentRss><description>I got a solution:&lt;br /&gt;&lt;br /&gt;var cn = new ActiveXObject("ADODB.Connection");&lt;br /&gt;var sqlSP = "EXEC sp_authorize " + idsolicitud;&lt;br /&gt;cn.ConnectionString = XDocument.DataObjects("CatServicios").QueryAdapter.Connection;&lt;br /&gt;cn.ConnectionTimeout = XDocument.DataObjects("CatServicios").QueryAdapter.Timeout;&lt;br /&gt;&lt;br /&gt;cn.Open();&lt;br /&gt;	cn.Execute(sqlSP);&lt;br /&gt;cn.Close();&lt;br /&gt;&lt;br /&gt;this work fine and change data on my table.</description></item><item><title>Re: Problems updating a table</title><link>https://www.infopathdev.com:443/forums/thread/12241.aspx</link><pubDate>Wed, 12 Jul 2006 13:32:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12241</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12241</wfw:commentRss><description>i try to execute by a stored procedure but i have the same problem, the code is execute but the stored procedure never is executed, and ip neves send me a error message:&lt;br /&gt;&lt;br /&gt;var objADOAdapter;&lt;br /&gt;objADOAdapter = XDocument.DataObjects("CatServicios").QueryAdapter;&lt;br /&gt;XDocument.UI.Alert("SQL command text: " + objADOAdapter.Command);&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;objADOAdapter.Command='execute "sp_authorize" ' + 30;&lt;br /&gt;XDocument.UI.Alert("SQL command text: " + objADOAdapter.Command);&lt;br /&gt;objADOAdapter.Command.Execute;&lt;br /&gt;}&lt;br /&gt;catch(ex)&lt;br /&gt;{&lt;br /&gt;XDocument.UI.Alert(ex.description);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;what is the problem?</description></item><item><title>Problems updating a table</title><link>https://www.infopathdev.com:443/forums/thread/12111.aspx</link><pubDate>Tue, 11 Jul 2006 19:42:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12111</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=12111</wfw:commentRss><description>Hi, i am trying to update a sql table with the next code:&lt;br /&gt;&lt;br /&gt;XDocument.QueryAdapter.Command = "update solicitudesms set autorizado=1";&lt;br /&gt;XDocument.Query();&lt;br /&gt;&lt;br /&gt;This works fine, but is not updating my table.&lt;br /&gt;i have permissions on my table.&lt;br /&gt;&lt;br /&gt;Why???</description></item></channel></rss>