DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 09:24:40 -0500,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Ben
          2    John Saunders [MVP] john.saunders at trizetto.com


XML and strongly typed datasets   
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
I'm trying to apply techniques I'd normally use to pull data from SQL/Server
to pull XML from SQL/Server, and I'm running into a problem.  Here's what
I'm doing:

1.  I've built a stored procedure that pulls my data, and renders it into
proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
would occur with EXPLICIT also.
2.  Using VS2005, I've added a DataSet item, and have dragged the sProc into
the dataset so I can access it through a TableAdapter.
3.  When I fill the DataTable via the TableAdapter, I get a single column
limited to 2033 characters, so I'm not getting the entire XML tree.

Google has a number of posts regarding using OLEDB / Streaming to get the
data from the 2033 character fields, but none of the posts address the use
of strongly typed datasets and TableAdapters, which are what I'm using.

Can this be done?  If so, how?

Thanks
Date:Fri, 17 Aug 2007 09:24:40 -0500   Author:  

Re: XML and strongly typed datasets   
-- 
John Saunders [MVP]

"Ben"  wrote in message 
news:uiB$omN4HHA.3400@TK2MSFTNGP03.phx.gbl...

> I'm trying to apply techniques I'd normally use to pull data from 
> SQL/Server
> to pull XML from SQL/Server, and I'm running into a problem.  Here's what
> I'm doing:
>
> 1.  I've built a stored procedure that pulls my data, and renders it into
> proper XML.  I'm using 'FOR XML AUTO, ELEMENTS', but I'll bet the issues
> would occur with EXPLICIT also.
> 2.  Using VS2005, I've added a DataSet item, and have dragged the sProc 
> into
> the dataset so I can access it through a TableAdapter.
> 3.  When I fill the DataTable via the TableAdapter, I get a single column
> limited to 2033 characters, so I'm not getting the entire XML tree.
>
> Google has a number of posts regarding using OLEDB / Streaming to get the
> data from the 2033 character fields, but none of the posts address the use
> of strongly typed datasets and TableAdapters, which are what I'm using.
>
> Can this be done?  If so, how?
>
> Thanks


What kind of connection are you using? If you are using the SQL Native 
Client, you should be able to handle columns of the new XML type.
-- 
John Saunders [MVP]
Date:Fri, 17 Aug 2007 13:18:51 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us