SqlDataReader中的GetSqlValue()方法
sdr.GetValue(0)
"Title"
sdr.GetValue(1)
4
sdr.GetValue(2)
false
sdr.GetValue(3)
0
sdr.GetValue(4)
"nvarchar"
sdr.GetValue(5)
false
sdr.GetValue(6)
"文章标题"
sdr.GetValue(7)
"50"
由此可得出,
| 0 | 字段名 |
| 1 | 序号 |
| 2 | IsNull |
| 3 | 经常为0,不知道 |
| 4 | 字段类型 |
| 5 | 经常为false,不知道 |
| 6 | 备注 |
| 7 | 长度 |

浙公网安备 33010602011771号