Gets a byte value from the datareader.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public byte GetByte(
	string name
)
Visual Basic
Public Function GetByte ( 
	name As String
) As Byte

Parameters

name
Type: System..::..String
Name of the column containing the value.

Return Value

Type: Byte

Remarks

Returns 0 for null.

See Also