Solved

select sql from normal column and xml  datatype

Posted on 2011-02-28
1
267 Views
Last Modified: 2012-05-11
Hi EE,

I have following table format and using xmlreader to query data on asp.net app. But I can not access the value of ID column?
how to handle such issue?

sql = select ID, Data from TBL

Column  Name  DataType
ID                      int
Data                  XML

Thanks
0
Comment
Question by:saloj
1 Comment
 
LVL 9

Accepted Solution

by:
mayank_joshi earned 500 total points
ID: 35004197
XML reader is used for reading only xml content.
use data reader or data adapter for reading the ID column.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question