User Profile
Collapse
-
So were you able to see what I've done wrong? I keep messing with it and I'm not really getting anywhere. -
I've been playing with this for a few days now, and I still can't get it to work. Here's what I have for my code in my tables class:
Code:public class Tables { DataTable ROV = new DataTable(); public DataTable ReturnedOrderValues { set { DataColumn Title = new DataColumn(); Title.ColumnName = "ows_Title";
Leave a comment:
-
Yes, that's exactly what I want to do. I just can't seem to make my DataTable accessible from the other classes. I really want to have a class dedicated to holding my tables (I have several) and then just call those tables from my different forms. I just can't seem to get the right "public" return type to make it work.Leave a comment:
-
May I ask why you don't want to do that? I would kind of like to be able to have a "next" and "previous" button on the edit form, then dump the table back into a batch to update the sharepoint list items. What's the reason for not using the tables as my storage to move back and forth through the rows?
In the end, I want everything to run in memory only. My reasoning is simply that then I don't need to worry about permissions...Leave a comment:
-
Ok, so the form I'm creating has the first form which queries the SharePoint list, then sends the info to a DataGridView. I want to then be able to double click on one of the items in the DataGridView, and have it open that item in another form. I'm having trouble finding out how to make my datatable accessible to other classes. I've tried just making it public static, public void, everything I know how. I would like to actually have a "Tables.cs"...Leave a comment:
-
I have one more quick question in regards to crossing classes, should I create a new thread or can you help me here?Leave a comment:
-
@insertAlias:
Is there a way to use a service reference instead of a web reference? Since the Phone platform doesn't support web references I'm going to have to figure out a way to make it work somehow and I was wondering if there is a blanket way to make it work, specifically with sharepoint.Leave a comment:
-
@GaryTexmo:
I actually have seperated out my listItem function because I am creating a query form, so depending on the type of query you make, it passes through different arguments. So I created a function for diong the parsing, which is what the code I posted is.
What do you mean about declaring AttributeXML? I ask because when I used the subnode.Attribu tes it gave me an error about implicitly converting something. I don't...Leave a comment:
-
@insertAlias:
I am using 3.0, although I also use a Web Reference (which I understand to be 2.0?) are there any issues with mixing the two?
I guess the reason I haven't been using the LINQ is because the standard XML syntaxes made a little more sense. But now, seeing your example, I'll start trying to play with LINQ. I am also creating a phone app for WinPhone 7, which doesn't even have 2.0 available so I'm going to have to learn...Leave a comment:
-
Have you allowed it to run through completely? Many times after the first window disappears it will tell you what program is trying to install. Once you have that information you can begin to decide what the next step is.Leave a comment:
-
foreach looping through XmlAttribute
I am attempting to create a loop to read through each XML attribute in a node and put it into a datatable. I have created my datatable with columns that are the same name as the attributes in my XML. I keep getting an error which says "Unable to cast object of type 'System.Xml.Xml Element' to type 'System.Xml.Xml Attribute'." The code follows:
Code:foreach (XmlNode listItem in newBatch) {
No activity results to display
Show More
Leave a comment: