2 trang
149 lượt xem
16
149
Reading XML Data Directly from SQL Server
[ Team LiB ] Recipe 8.5 Reading XML Data Directly from SQL Server Problem You need to read XML data directly from the SQL Server. Solution Use the FOR XML clause in the stored procedure or SQL statement. The C# code is shown in Example 8-8. Example 8-8. File
luvpro