Usage of getint et al.

xiaoxiao2021-03-06  42

Take the value of the shaping data in SQL Server in C #:

INT type use Get32 ();

Smallint type uses GetInt16 ();

Tinyint type use GetByte ();

If you only query a column, you can't use the getordinal function, otherwise you will throw an indexoutofrangeException exception.

Use the ISDBNULL judgment field to be empty before taking the data.

转载请注明原文地址:https://www.9cbs.com/read-55830.html

New Post(0)