<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11090.aspx</link><pubDate>Mon, 12 Feb 2007 11:35:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11090</guid><dc:creator>Navid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11090.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11090</wfw:commentRss><description>I mean I have 2 kind of table .&lt;br /&gt;1- A real table in my SQL DB.&lt;br /&gt;2- A table that I create in WebMethods functions in my WebService. with c# commands like this command : DataTable temp = new DataTable();&lt;br /&gt;&lt;br /&gt;Now imagin u have 2 tables, one that is created in Database and the other one that is created in your WebService. ( like above )&lt;br /&gt;&lt;br /&gt;&lt;i&gt;the structure of two tables are the same.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The first one ( in DB ) is empty and the second one has been initialized.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Main Question : &lt;b&gt;In my WebService and With C# commands, How can I initialize the first table with the values in the second table ???&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;</description></item><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11089.aspx</link><pubDate>Mon, 12 Feb 2007 09:20:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11089</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11089</wfw:commentRss><description>Hi again,&lt;br /&gt;I don't understand the comment "the temporary table isn't in the Database". Anyway, sounds like it's not an InfoPath issue. &lt;br /&gt;</description></item><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11088.aspx</link><pubDate>Mon, 12 Feb 2007 08:52:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11088</guid><dc:creator>Navid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11088</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;I think I'm doing a simple mistake !!&lt;br /&gt;The temporary table isn't in DataBase, so there shouldn't be any dataAdapter and so on .&lt;br /&gt;Am I right ???&lt;br /&gt;if yes , how can I query this table ?! by searching rows and columns one by one ????</description></item><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11087.aspx</link><pubDate>Mon, 12 Feb 2007 08:49:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11087</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11087.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11087</wfw:commentRss><description>try the connection string to the DB</description></item><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11086.aspx</link><pubDate>Mon, 12 Feb 2007 08:37:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11086</guid><dc:creator>Navid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11086</wfw:commentRss><description>Hi Patrick,&lt;br /&gt;I'm using InfoPath 2003 but I think this issue isn't related to infopath !&lt;br /&gt;I have created an ASP.Net Web Service that my forms are using this WS,and this WS is connected to a SQL 2005 DB.&lt;br /&gt;The goal was to creat a temporary table, initialze it , &amp; copy it to a table in SQL DB.&lt;br /&gt;I Create the temporary table ==&amp;gt; DataTable table = new DataTable();&lt;br /&gt;then I created it's column's and it's rows. and then I initialze it.&lt;br /&gt;but when I wanted to query it, you now that I should initialze the Select command property.&lt;br /&gt;one of it's parameters is DataConnection. And I don't know what should I put instead of it !!&lt;br /&gt;it's been bolded below :&lt;br /&gt;SPDataAdapter.SelectCommand = new SqlCommand(@"Select ID From [table]",&lt;b&gt;??Connection??&lt;/b&gt;);&lt;br /&gt;</description></item><item><title>Re: Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/11085.aspx</link><pubDate>Sat, 10 Feb 2007 22:08:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11085</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11085</wfw:commentRss><description>Hi Navid,&lt;br /&gt;&lt;br /&gt;Are you using InfoPath 2007 or InfoPath 2003? Do you know if you are using the new object model in 2007 or not? &lt;br /&gt;&lt;br /&gt;For universal data connections, the SelectCommand has the following structure:&lt;br /&gt;&lt;br /&gt;&amp;lt;udc:SelectCommand&amp;gt;&lt;br /&gt;&amp;lt;udc:ListId/&amp;gt;&lt;br /&gt;	&amp;lt;udc:WebUrl/&amp;gt;&lt;br /&gt;	&amp;lt;udc:ConnectionString/&amp;gt;&lt;br /&gt;	&amp;lt;udc:OperationName/&amp;gt;&lt;br /&gt;	&amp;lt;udc:ServiceUrl UseFormsServiceProxy=""/&amp;gt;&lt;br /&gt;	&amp;lt;udc:SoapAction/&amp;gt;&lt;br /&gt;&amp;lt;udc:Query/&amp;gt;&lt;br /&gt;&amp;lt;/udc:SelectCommand&amp;gt;&lt;br /&gt;&lt;br /&gt;For a Web service submit, you only need to specify the ServiceUrl and SoapAction. For example:&lt;br /&gt;&lt;br /&gt;&amp;lt;udc:SelectCommand&amp;gt;&lt;br /&gt;	&amp;lt;udc:ListId/&amp;gt;&lt;br /&gt;	&amp;lt;udc:WebUrl/&amp;gt;&lt;br /&gt;	&amp;lt;udc:ConnectionString/&amp;gt;&lt;br /&gt;	&amp;lt;udc:ServiceUrl UseFormsServiceProxy="true"&amp;gt&lt;a target="_blank" href=http://formsboard.com:30794/dbxl/dbxldocumentserviceEx.asmx&amp;lt;/udc:ServiceUrl&amp;gt;&gt;http://formsboard.com:30794/dbxl/dbxldocumentserviceEx.asmx&amp;lt;/udc:ServiceUrl&amp;gt;&lt;/a&gt;&lt;br /&gt;	&amp;lt;udc:SoapAction&amp;gt&lt;a target="_blank" href=http://qdabra.com/webservices/SubmitDocument&amp;lt;/udc:SoapAction&amp;gt;&gt;http://qdabra.com/webservices/SubmitDocument&amp;lt;/udc:SoapAction&amp;gt;&lt;/a&gt;&lt;br /&gt;	&amp;lt;udc:Query/&amp;gt;&lt;br /&gt;&amp;lt;/udc:SelectCommand&amp;gt;&lt;br /&gt;&lt;br /&gt;There should be parallel properties when you set up the data connection in code (vs. UDC).&lt;br /&gt;&lt;br /&gt;I hope this helps you. Good luck.&lt;br /&gt;I thought SelectCommand contained info on connection string and SQL query to perform. For Web services, you shouldn't need it.</description></item><item><title>Programming problem ! (SelectCommand)</title><link>https://www.infopathdev.com:443/forums/thread/6055.aspx</link><pubDate>Sat, 10 Feb 2007 13:34:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6055</guid><dc:creator>Navid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6055</wfw:commentRss><description>Hi. I have an issue :&lt;br /&gt;I have Created a Table by coding in WebService (DataSet&amp;DataTable). I want to Initialize the SelectCommand property but I Have an Error that said "The *Connection* property of *SelectCommand* hasn't been initialized !!".&lt;br /&gt;but u Know the table isn't in a DB and has created by coding . I think it shouldn't have any connection property !&lt;br /&gt;So what's the connection property ?????&lt;br /&gt;</description></item></channel></rss>