D
deepak
Hi
i want to write the follwoing in vb.net in asp.net.How to write it?
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID="80" />
</DictionaryTypes>
</SXPDictionaryItemsGet>
Cuurently i m using the following code
Function GetDictionaryValues()
Dim strmread As StreamReader
Dim str_response As String
Dim sxp_getdictionaryvalues As String
Dim objInProc As Object
Dim dictionayID As String = "80"
sxp_getdictionaryvalues = "<SXPDictionaryItemsGet Revision=""7.5.0""> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"<DictionaryTypes>"
sxp_getdictionaryvalues = sxp_getdictionaryvalues & " <Item ID>" &
dictionayID & "</Item ID> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"</DictionaryTypes> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"</SXPDictionaryItemsGet> "
but its giving me 50 and not "50" i.e.
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID=50 />
</DictionaryTypes>
</SXPDictionaryItemsGet>
in sxp_getdictionaryvalues variable
which is wrong.Kindly help me
Thanks,
Deepak
(e-mail address removed)
i want to write the follwoing in vb.net in asp.net.How to write it?
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID="80" />
</DictionaryTypes>
</SXPDictionaryItemsGet>
Cuurently i m using the following code
Function GetDictionaryValues()
Dim strmread As StreamReader
Dim str_response As String
Dim sxp_getdictionaryvalues As String
Dim objInProc As Object
Dim dictionayID As String = "80"
sxp_getdictionaryvalues = "<SXPDictionaryItemsGet Revision=""7.5.0""> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"<DictionaryTypes>"
sxp_getdictionaryvalues = sxp_getdictionaryvalues & " <Item ID>" &
dictionayID & "</Item ID> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"</DictionaryTypes> "
sxp_getdictionaryvalues = sxp_getdictionaryvalues &
"</SXPDictionaryItemsGet> "
but its giving me 50 and not "50" i.e.
<SXPDictionaryItemsGet Revision="7.5.0">
<DictionaryTypes>
<Item ID=50 />
</DictionaryTypes>
</SXPDictionaryItemsGet>
in sxp_getdictionaryvalues variable
which is wrong.Kindly help me
Thanks,
Deepak
(e-mail address removed)