登录
首页 » .NET » DataSet 到 T-SQL 脚本

DataSet 到 T-SQL 脚本

于 2022-02-12 发布 文件大小:9.81 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge 作者:Brad Joss@CodeProject static 类对外暴露了采用  System.Data.DataTable 或 DataSet并输出为 Transact SQL (T-SQL)  脚本的方法。当该脚本在 SQL Server 实例中运行时,可以创建#TEMP 表格形式的逻辑相似的结构。调试时特别有用,可用来分析 DataTable(s) 中的数据。 虽然这个代码的主要目标是用于调试,但是也可用于日志机制,来捕获日志报告详情,显示数据如何在系统中移动。使用代码要创建T-SQL 脚本,需要根据你的需求调用其中一个方法。代码提供了 3 个方法,输出结果到 Debug.Output 窗口,System.String 变量或者到一个文件。DataSet ds = // A DataSet filled with data.... // Write the script results to the Debug.Output window DataSetToScript.DataSetToSqlScriptOutput(ds); // Write th

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 此程序是一个简单的邮票计算的程序,由C++代码写成,虽然简单,但希望对大家有所帮助!...
    此程序是一个简单的邮票计算的程序,由C++代码写成,虽然简单,但希望对大家有所帮助!-This program is a simple procedure for the calculation of stamps, from C++ code is written in simple, but we want to help!
    2022-01-25 14:19:17下载
    积分:1
  • jtgl
    2008-10-29 15:48:52下载
    积分:1
  • ASP.NET3.5
    ASP.NET3.5入门经典完整版 缺少 5-10章(ASP.NET3.5 entry classic full version lacks 5-10 Chapter)
    2012-09-04 14:03:57下载
    积分:1
  • 填充多边形对C++源码+ EXE
    fill polygon C++ source + exe-fill polygon on C++ source+ exe
    2022-01-29 03:39:22下载
    积分:1
  • 实现了B/S树导航,ASP.Net 样式使用方便,能加图标
    实现了B/S树导航,ASP.Net 样式使用方便,能加图标-Realize the B/S tree navigation, ASP.Net style easy to use, can add icon
    2023-08-20 08:35:03下载
    积分:1
  • WPF画曲线图源码
    说明:  源码描述: 一、源码特点 一款用wpf画柱状图,扇形图,折线图,适合初学者学习使用,有需要的朋友不要错过 二、注意事项 开发环境为Visual Studio 2013,使用.net 4.5开发。 作者:青雨木(Source description: I. Source Code Characteristics Wpf is a bar chart, sector chart, polyline chart, suitable for beginners to learn to use, friends in need do not miss II. Notes The development environment is Visual Studio 2013, developed with. net 4.5. Author: Qingyumu)
    2020-06-23 02:40:01下载
    积分:1
  • detest
    IIS虚拟目录修改,可用作流媒体服务器防盗链
    2010-03-08 13:02:34下载
    积分:1
  • WS-Transfer Service for Workflow
    2022-06-12 20:36:30下载
    积分:1
  • Xaccp.XaItJob.Solution
    是一个使用C#.net编写使用建议功能强大的招聘网站代码(This is a used C#. Net is very prepared to use and powerful Invoicing of the B/S system)
    2009-10-10 18:07:46下载
    积分:1
  • voteReAlxL
    投票调查系统,使用ASP.NET开发,数据库为ACCESS。除了具有一般的投票系统功能外,还支持查询用户投票信息(需要与你的用户系统管理)功能,您可以把此模块集成到您的系统之中。这是本人学习ASP.NET的第一个作品,历时一个星期完成。融入了分层的思想,大部分功能都使用ASP.NET的控件实现。 另外代码中有比较详细的注释,方便大家学习!安装前先在Web.config中配置数据库物理路径 (Voting investigation system, use the ASP.NET development, database ACCESS. In addition to the general voting system functions, also supports the query the user vote information (your user needs and system management), you can integrate this module into your system. This is my first work to learn ASP.NET, took a week to complete. Into a hierarchical thinking, most of the features are achieved using ASP.NET controls. In addition a more detailed code comments, to facilitate them to learn! Before installation to configure the database in the Web.config physical path)
    2010-09-11 01:45:59下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载