Victor Charles
asked on
Help with displaying data from data table to multiple controls
Hi,
How do I modify the code below to display data from dtFTL.Rows(0) to two Textbox controls.
For example, If I have the following text in dtFTL.Rows(0).
+589 This temperatue
I would like to display the first 4 charcaters (+589) to C1FTLA and the remaining text to C1FTLB.
For Each xnFTL As Xml.XmlNode In xdFTL.SelectNodes("/Root/F TLTable[FT L_ID='" & FTLID & "']")
FTLID2 = xnFTL.SelectSingleNode("FT L_ID").Inn erText
Name = xnFTL.SelectSingleNode("FT L").InnerT ext
dtFTL.Rows.Add({FTLID2, Name})
Next
C1FTL.Text = dtFTL.Rows(0).Item("FTL")
Thanks.
Victor
How do I modify the code below to display data from dtFTL.Rows(0) to two Textbox controls.
For example, If I have the following text in dtFTL.Rows(0).
+589 This temperatue
I would like to display the first 4 charcaters (+589) to C1FTLA and the remaining text to C1FTLB.
For Each xnFTL As Xml.XmlNode In xdFTL.SelectNodes("/Root/F
FTLID2 = xnFTL.SelectSingleNode("FT
Name = xnFTL.SelectSingleNode("FT
dtFTL.Rows.Add({FTLID2, Name})
Next
C1FTL.Text = dtFTL.Rows(0).Item("FTL")
Thanks.
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank You!
Not a problem, glad to help.
ASKER