Search - InfoPath Dev

InfoPath Dev

Search

Page 9 of 10 (92 items) « First ... < Previous 6 7 8 9 10 Next >
  • Re: How do I bind a list box to an existing dataset?

    For your second error, AddItem(PatientID, PatientLName, &quot;PatientData&quot;); // and here I get the error: the name PatientData does not exist in the current context You forgot your &quot;&quot;. &nbsp;For your first error, Do you use Visual Studio?? If so try to write the code and see what visual studio suggest you went you type ...
    Posted to Newbie Questions (Forum) by mgarant on 06-03-2010
  • Re: How do I bind a list box to an existing dataset?

    You just need to go through all the data inside your dataset with a foreach loop and then populate your list with the AddItems function. foreach (DataRow dataRow in patientTable.Rows) { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;string approver =&nbsp;dataRow.Item[&lt;the ID of the data you want to recover&gt;].toString(); &nbsp;&nbsp;&nbsp;&nbsp; string ...
    Posted to Newbie Questions (Forum) by mgarant on 06-03-2010
  • Re: How do I bind a list box to an existing dataset?

    I think you will need a secondary datasource that you will link the list box on. I suggest to create a xml file template with no data in it. example : &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; - &lt;options&gt; -&nbsp;&nbsp;&nbsp; &lt;option&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;value /&gt; ...
    Posted to Newbie Questions (Forum) by mgarant on 06-02-2010
  • Re: Error opening in browser when using a SQL Database as a data source

    Are you using code when connecting to the database? If so, did you include the username and password in your connection query? &nbsp;If not, when you open the form the first time, it should ask the password of the database... well that&#39;s what happened to me some times ago... there was a check box in the prompt asking if I wanted to save the ...
    Posted to Browser Forms (Forum) by mgarant on 06-02-2010
  • Re: Reading Custom List from InfoPath

    Have you checked the names of the list, item, site, field you are trying to access to? Maybe you made an error when writing them... &nbsp;(example : SPList myList = site.Lists[&quot;customlist&quot;]; should be SPList myList = site.Lists[&quot;CustomList&quot;];)
    Posted to Code (Forum) by mgarant on 05-28-2010
  • Re: How to load list values programatically into infopathform

    There&#39;s some different way to do this, depending on what control you want to load your list in. But there is a general way to do it : &nbsp;- First you need to connect to the sharepoint list you want to load your values from with the Microsoft.Sharepoint assembly - You need to make the CAML query to retrieve the data; - Put the query in a ...
    Posted to General (Forum) by mgarant on 05-27-2010
  • Re: Custom Email Notifications when using Collect Data from User in SPDesigner

    That&#39;s exactly what I was looking for! Thank you so much!
    Posted to Workflow (Forum) by mgarant on 05-27-2010
  • Custom Email Notifications when using Collect Data from User in SPDesigner

    Hello there, &nbsp;I was wondering if there is any way to customize the email notification that is sent when the Collect Data From User function is triggered. &nbsp;Thanks a lot in advance!
    Posted to Workflow (Forum) by mgarant on 05-26-2010
  • Re: Create a new folder in a sharepoint list

    Well i&#39;ve finally managed to do it! Here&#39;s how to do it, for those who would need it. &nbsp;---------------------------------------------------------------------------------------------SPSite oSiteCollection = new SPSite(&quot;Your site collection&quot;); SPWeb oWebsiteSrc = oSiteCollection.OpenWeb(); SPList oList = ...
    Posted to Code (Forum) by mgarant on 05-25-2010
  • Create a new folder in a sharepoint list

    Hello there, &nbsp;I&#39;m trying to create a new folder in my sharepoint list on submit event. I use the Microsoft.Sharepoint assembly to do it. There is the code i came with : ----------------------------------------------------------------------------------------------------SPSite oSiteCollection = new SPSite(&quot;http://srvspsdev/&quot;); ...
    Posted to Code (Forum) by mgarant on 05-25-2010
Page 9 of 10 (92 items) « First ... < Previous 6 7 8 9 10 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.