c# - 如何将 Postgresql 数据插入字符串数组
问题描述
所以我的数据库中有一些数据,我需要使用 npgsql 将其传输到字符串数组中。我是数据库操作系统的新手,我真的不明白该怎么做。
cmd.CommandText = @"select ""kabin"", ""time1"", ""time2"" from ""zapis"" where ""sz_date"" into string[] array;
解决方案
推荐阅读
- javascript - React Native:如何包含第三方 JS 文件?
- python - 我想将下面的代码(神经网络)从 keras 转换为 pytorch
- sql - 如何在从 AS400 读取的 SQL Server 中修复“在 T2 类型 *N 中未找到 RIGHT”?
- ios - 下载每个图像后重新加载 tableview
- .net-assembly - 装配说明 最大尺寸
- sql - Mod功能和选择
- c# - 创建可重用的 WPFToolkit 控件
- reactjs - Expo导入错误:不变的违规元素类型无效预期字符串(用于内置组件)
- c# - 使文本网格中的文本停留几秒钟
- java - 从单个整体式 springboot 应用程序对两个独立数据库中的表执行写入操作