O'Reilly logo

Datenbank-Programmierung mit Visual C# 2010 by Thomas Gewinnus, Walter Doberenz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Übersichten

Datentypen

Tabelle 4.14 Datentypen

.NET Framework-Typ

System.Data.DbType

SqlDbType

OleDbType

 

AnsiString

VarChar

VarChar

bool

Boolean

Bit

Boolean

byte

Byte

TinyInt

UnsignedTinyInt

char

  

Char

 

Currency

Money

Currency

DateTime

DateTime

DateTime

DBTimeStamp

 

Date

DateTime

DBDate

double

Double

Float

Double

float

Single

Real

Single

int

 

Int

Integer

long

 

BigInt

BigInt

object

Object

Variant

Variant

short

 

SmallInt

SmallInt

string

String

NVarChar

VarWChar

 

Time

DateTime

DBTime

Connection-Objekt

Tabelle 4.15 Eigenschaften

Eigenschaft

Beschreibung

ConnectionString

Verbindungszeichenfolge zur Datenbank (Lese-/Schreibzugriff)

ConnectionTimeout

Zeit (in Sekunden) für Verbindungsversuch (Lesezugriff)

Database

Name der aktuellen Datenbank (Lesezugriff)

DataSource

Name der Datenbankdatei bzw. SQL Server-Instanz ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required