Code
  • 首页
  • cpu-architecture
  • performance
  • c++
  • branch-prediction
  • java
2024-10-02 08:00:02

在c#中,与bigint相当的是什么?

c#.netsql-serverbigint

我应该使用什么时候处理一个值在c#,这是一个SQL Server数据库的大int ?


当前回答

Int64直接映射到BigInt。

源

2010-01-21 22:44:26

其他回答

使用长数据类型。

2010-01-21 22:44:45

我处理一个bigint数据类型显示在一个DataGridView,并使它像这样

something = (int)(Int64)data_reader[0];
2014-08-11 14:57:29

Int64直接映射到BigInt。

源

2010-01-21 22:44:26

您可以使用长类型或Int64

2015-07-08 17:59:00

如果你在你的数据库表中使用bigint,你可以在c#中使用Long

2020-05-18 14:26:04

推荐文章

  • 实体框架核心:在上一个操作完成之前,在此上下文中开始的第二个操作
  • 如何为构造函数定制Visual Studio的私有字段生成快捷方式?
  • 为什么Visual Studio 2015/2017/2019测试运行器没有发现我的xUnit v2测试
  • 确定记录是否存在的最快方法
  • 如何使用JSON确保字符串是有效的JSON。网
  • AppSettings从.config文件中获取值
  • 通过HttpClient向REST API发布一个空体
  • 如何检查IEnumerable是否为空或空?
  • 自动化invokerrequired代码模式
  • 没有ListBox。SelectionMode="None",是否有其他方法禁用列表框中的选择?
  • 在c#代码中设置WPF文本框的背景颜色
  • 在c#中,什么是单子?
  • 从现有模式生成表关系图(SQL Server)
  • c#和Java中的泛型有什么不同?和模板在c++ ?
  • 我如何循环通过一组记录在SQL Server?

aliyun

最新文章

  • 如何删除默认的导航栏空间在SwiftUI导航视图
  • 我可以列出所有的标准Go包吗?
  • 证书验证失败:无法获得本地颁发者证书
  • 警告:API ' variable . getjavacompile()'已过时,已被' variable . getjavacompileprovider()'取代
  • 打开同一目录两次
  • 实体框架核心:在上一个操作完成之前,在此上下文中开始的第二个操作
  • NullInjectorError: AngularFirestore没有提供程序
  • 如何为构造函数定制Visual Studio的私有字段生成快捷方式?
  • 从元组/数组值派生联合类型
  • 如何在Angular2中截断文本?
  • 安装tzdata非交互式
  • ionic 2 - Error在Android Studio中找不到Gradle的安装版本
  • 如何查看所有地区所有正在运行的Amazon EC2实例?
  • 当使用pip3安装包时,“Python中的ssl模块不可用”
  • 安装APK时出现错误

标签

cpu-architectureperformancec++branch-predictionjavaundogit-commitgitversion-controlgit-remotegit-pushgit-branchgit-pullgit-fetchpythongeneratoriteratorjsonmime-typescontent-typearraysjavascriptgit-addcode-formattingcstandards-complianceoperatorscommentsdynamic-memory-allocationstackmemory-managementheap-memorylanguage-agnosticoverwritebackground-colorbrowserhtmldomjqueryvisibilityuse-strictsyntaxjslintremote-branchgit-checkoutpython-moduleidiomsprogram-entry-pointnamespacesbranch
2025 code 京ICP备15047053号-1