A
aspnerd
Is there a way to programmatically update a secondary data connection
record?
I can query the secondary list and retrieve the data, but I'm unable
to set the value.
I haven't been able to locate anything online which helps...
Here is what I tried...(below) and it said I couldn't update it
because it was a method group or something like that...
Can it be done?
DataSource xdsSequenceNumber = this.DataSources["Sequence Numbers"];
XPathNavigator xnSequenceNumber =
xdsSequenceNumber.CreateNavigator().SelectSingleNode("/dfs:myFields/
dfs:dataFields/dfs:Sequence_Numbers/@SequenceNumber[../@FormName =
'xxxxx']", NamespaceManager);
xnSequenceNumber.SetValue(Convert.ToString((Convert.ToInt32(xnSequenceNumber.Value)
+ 1)));
record?
I can query the secondary list and retrieve the data, but I'm unable
to set the value.
I haven't been able to locate anything online which helps...
Here is what I tried...(below) and it said I couldn't update it
because it was a method group or something like that...
Can it be done?
DataSource xdsSequenceNumber = this.DataSources["Sequence Numbers"];
XPathNavigator xnSequenceNumber =
xdsSequenceNumber.CreateNavigator().SelectSingleNode("/dfs:myFields/
dfs:dataFields/dfs:Sequence_Numbers/@SequenceNumber[../@FormName =
'xxxxx']", NamespaceManager);
xnSequenceNumber.SetValue(Convert.ToString((Convert.ToInt32(xnSequenceNumber.Value)
+ 1)));