-
C# 在LINQ to DataSet中对分组操作执行子查询
C# 在LINQ to DataSet中对分组操作执行子查询,相关代码:
private void button1_Click(object sender, EventArgs e)
{//在LINQ to DataSet中对分组操作执行子查询
SqlConnection MyConnection = new SqlConnection();
MyConnection.ConnectionString = @"Data Source =.SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True";
MyConnection.Open();
SqlCommand MyCommand = new SqlCommand("Select * From Orders ", MyConnection);
DataSet MySet = new DataSet();
SqlDataAdapter MyAdapter = new SqlDataAdapter(MyCommand);
MyAdapter.Fill(MySet);
DataTable MyQueryTable = MySet.Tables[0];
var MyQuery = from MyOrder in MyQueryTable.AsEnumerable()
orderby MyOrder.Field("ShipCity")
group MyOrder by MyOrder.Field("ShipCity") into g
select new
{
MyCity = g.Key,
MyMaxFreight = (from MyData in g select MyData.Field("Freight")).Max()
- 2022-01-27 20:20:32下载
- 积分:1
-
股票K线
股票K线图。初级。入门级水平。适用于初学者学习。
- 2022-02-01 10:50:35下载
- 积分:1
-
win64 环境下kinectv2 SDK 调用彩图
c++ kinectv2 vs2015 opencv3.1 ,win64 环境下kinectv2 SDK 开发的彩图调用。
- 2022-03-15 11:39:57下载
- 积分:1
-
条形码定位
条形码定位程序,可以同时定位一张图片中的多个条形码,定位区域较为准确,准确率较高。条形码定位时采用大津二值化方法进行图像二值化,通过模糊,膨胀和过滤手段进行水平投影和垂直投影来确定条形码的上下边缘和左右边缘,最后通过先验知识去除不是条形码的区域
- 2022-07-04 13:45:28下载
- 积分:1
-
This article shows how to implement an Expl orer like treeview drag and drop in...
This article shows how to implement an Explorer like treeview drag and drop in C#.-This article shows how to implement an Expl orer like treeview drag and drop in C#.
- 2022-03-04 13:49:42下载
- 积分:1
-
海思平台3519人脸抓拍源码
This is a binary library for face detection and face landmark detection in images.
The 32-bit and 64-bit dll files are provided.
To achieve better performance, the 64-bit dll is recommended.
examples/libfacedetect-example.cpp shows how to use the library.
- 2023-07-28 13:10:07下载
- 积分:1
-
Trainning image labler
自己用QT编写的图像标注程序,可以生成PASCAL VOC中的那种xml object标注文件。如果你想仿照PASCAL VOC生成自己的数据库,那就来下载这个程序吧
- 2022-03-31 23:03:47下载
- 积分:1
-
在虚拟机下运行的俄罗斯方块
可以完美运行,并有开发的新功能。
列如:增加了一个缓冲框,可以存储一个俄罗斯方块。能使玩家获得更多的机会,保证游戏的快乐。
- 2022-07-16 11:12:39下载
- 积分:1
-
ASP.NET chengji
通过调研目前教学管理系统中的成绩管理子系统,了解成绩管理子系统的业务流程;本系统基于.NET平台和SQL Server数据库,通过毕业设计,可以使学生对.NET结构下开发B/S模式的分布式三层数据库系统有一个全面的了解。本系统从功能上划分可分为以下几大模块:功能模块管理,组权限管理,学生信息管理,课程信息管理,学生成绩管理,授课信息管理,学生信息查询,学生成绩统计等几大模块。以下将对各子模块进行说明。
功能模块管理:将系统功能模块保存到数据库中以便于动态地进行不同用户组权限的分配等操作。本模块包括功能模块的添加,删除,修改等。(The research achievements in teaching management system management system, understand the performance management subsystem of the business process; through analysis and comparison, improvement of the user management subsystem performance combined with the implementation, using object oriented method to design and implement a function and to meet performance, performance management system and innovation in order to improve the performance management, automation, friendly etc.. This system is based on.NET platform and SQL Server database.From the functions of the system can be divided into the following modules: module group management, rights management, student information management, curriculum information management, student achievement management, teaching information management, student information query module, several students score statistics. Each sub module will be described below.)
- 2017-07-26 15:30:27下载
- 积分:1
-
串口调试助手
串口调试助手源码,用Visual Stusio为平台编写的,对新手学习C#帮助挺大
&
- 2023-06-10 06:10:03下载
- 积分:1