hi,
i am connecting to a server and getting the query result via asp.net. result can be in XML or HTML format, and prepared on the server side. when i get the result file i want see the details on the page. coudnt manage showing the content on the page appropriately. it must be very easy
if i use response.write it is not giving me the right solution. the code... here...
Dim conn As Zoom.Net.IConnection = Zoom.Net.IConnectionFactory.Create(zhostip, zport)
conn.DatabaseName = dbName
conn.Syntax = Zoom.Net.RecordSyntax.SUTRS
conn.Options.Item("elementSetName") = "F"
Dim query As Zoom.Net.IPrefixQuery = Zoom.Net.IPrefixQueryFactory.Create(zQuery)
Dim rs As Zoom.Net.IResultSet = conn.Search(query)
Dim rec As Zoom.Net.IRecord = rs.Item(zMetaNo)
Dim content As String = System.Text.Encoding.UTF8.GetString(rec.Content)
and want to see content on the page as xml or html...
thanks...
i am connecting to a server and getting the query result via asp.net. result can be in XML or HTML format, and prepared on the server side. when i get the result file i want see the details on the page. coudnt manage showing the content on the page appropriately. it must be very easy
Dim conn As Zoom.Net.IConnection = Zoom.Net.IConnectionFactory.Create(zhostip, zport)
conn.DatabaseName = dbName
conn.Syntax = Zoom.Net.RecordSyntax.SUTRS
conn.Options.Item("elementSetName") = "F"
Dim query As Zoom.Net.IPrefixQuery = Zoom.Net.IPrefixQueryFactory.Create(zQuery)
Dim rs As Zoom.Net.IResultSet = conn.Search(query)
Dim rec As Zoom.Net.IRecord = rs.Item(zMetaNo)
Dim content As String = System.Text.Encoding.UTF8.GetString(rec.Content)
and want to see content on the page as xml or html...
thanks...