Hi;
I try to fetch data and show in the textbox as follows;
.
.
.
.
<asp:XmlDataSource Id="m_ChXmlDataSource" runat="server"
DataFile="http://localhost/ChHumanica/template/ChMenuItem.xml?Id=1">
</asp:XmlDataSource>
.
.
.
.
<asp:TextBox ID="m_ChAliasTextBox" CssClass="ChTextBox" Runat="server"
Width="100%" />
How can I put the result into textbox ?
Thnx.
Devinim LEN
TO - Technology Services
Global Bilgi Paz., Dan. ve ar Servisi Hiz. A..
Fatih C. Dereboyu S. No:8 34660 Halkal-stanbul/Trkiye
GSM : +90 (532) 555 5500
Tel : +90 (212) 473 2020
Fax : +90 (533) 981 4653> I try to fetch data and show in the textbox as follows;
I'm afraid I DON'T follow. What "follows" is an ASPX Control tag, followed
by some ellipses indicating that something was omitted, followed again by
another Control tag.
Therefore, what the "Result" is, is unknown to me, and I can't answer the
question.
Good rule of thumb: To get a good answer, ask a good question.
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
"Devinim LEN" <devinim.solen@.global-bilgi.com.tr> wrote in message
news:eCD0PS2mEHA.3812@.TK2MSFTNGP10.phx.gbl...
> Hi;
> I try to fetch data and show in the textbox as follows;
> .
> .
> .
> .
> <asp:XmlDataSource Id="m_ChXmlDataSource" runat="server"
> DataFile="http://localhost/ChHumanica/template/ChMenuItem.xml?Id=1">
> </asp:XmlDataSource>
> .
> .
> .
> .
> <asp:TextBox ID="m_ChAliasTextBox" CssClass="ChTextBox" Runat="server"
> Width="100%" />
> How can I put the result into textbox ?
>
> Thnx.
> --
> Devinim LEN
>
> TO - Technology Services
> Global Bilgi Paz., Dan. ve ar Servisi Hiz. A..
> Fatih C. Dereboyu S. No:8 34660 Halkal-stanbul/Trkiye
> GSM : +90 (532) 555 5500
> Tel : +90 (212) 473 2020
> Fax : +90 (533) 981 4653
>
Hi Again;
What I need to learn, it is simple to understand. By following code, I want
to get data from XML into textbox via XmlDataSource.
<asp:XmlDataSource Id="m_ChXmlDataSource" runat="server"
DataFile="http://localhost/ChHumanica/template/ChMenuItem.xml?Id=1">
</asp:XmlDataSource>
.
.
.
<asp:TextBox ID="m_ChAliasTextBox" CssClass="ChTextBox" Runat="server"
Width="100%" />
XML source is;
<?xml version="1.0" encoding="UTF-8" ?>
- <root xmlns:sql="urn:schemas-microsoft-com:xml-sql">
<Ch_Hm_Vw_MenuItem Id="1" Alias="Administration" />
<Ch_Hm_Vw_MenuItem Id="2" Alias="Users & Groups" />
<Ch_Hm_Vw_MenuItem Id="3" Alias="Users" />
<Ch_Hm_Vw_MenuItem Id="4" Alias="Groups" />
<Ch_Hm_Vw_MenuItem Id="5" Alias="Settings" />
<Ch_Hm_Vw_MenuItem Id="6" Alias="Menu" />
<Ch_Hm_Vw_MenuItem Id="7" Alias="Menu Item List" />
</root>
Devinim LEN
TO - Technology Services
Global Bilgi Paz., Dan. ve ar Servisi Hiz. A..
Fatih C. Dereboyu S. No:8 34660 Halkal-stanbul/Trkiye
GSM : +90 (532) 555 5500
Tel : +90 (212) 473 2020
Fax : +90 (533) 981 4653
"Kevin Spencer" <kspencer@.takempis.com> wrote in message
news:udKDIP$mEHA.1152@.TK2MSFTNGP11.phx.gbl...
> I'm afraid I DON'T follow. What "follows" is an ASPX Control tag, followed
> by some ellipses indicating that something was omitted, followed again by
> another Control tag.
> Therefore, what the "Result" is, is unknown to me, and I can't answer the
> question.
> Good rule of thumb: To get a good answer, ask a good question.
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> I get paid good money to
> solve puzzles for a living
> "Devinim LEN" <devinim.solen@.global-bilgi.com.tr> wrote in message
> news:eCD0PS2mEHA.3812@.TK2MSFTNGP10.phx.gbl...
>
Tuesday, March 13, 2012
TextBox and XML
Labels:
asp,
fetch,
follows,
hii,
ltaspxmldatasource,
m_chxmldatasource,
net,
textbox,
xml
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment