51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
|
|
object TDataSnapServerDataForm2: TTDataSnapServerDataForm2
|
||
|
|
OldCreateOrder = True
|
||
|
|
Providers = <
|
||
|
|
item
|
||
|
|
Provider = prv_categories
|
||
|
|
Name = 'cat'
|
||
|
|
end>
|
||
|
|
Left = 636
|
||
|
|
Top = 238
|
||
|
|
Height = 300
|
||
|
|
Width = 300
|
||
|
|
object qry_categories: TADOQuery
|
||
|
|
Connection = con_SqlServer
|
||
|
|
CursorType = ctStatic
|
||
|
|
Parameters = <>
|
||
|
|
SQL.Strings = (
|
||
|
|
'SELECT * FROM categories')
|
||
|
|
Left = 57
|
||
|
|
Top = 8
|
||
|
|
object qry_categoriesCategoryID: TAutoIncField
|
||
|
|
FieldName = 'CategoryID'
|
||
|
|
ReadOnly = True
|
||
|
|
end
|
||
|
|
object qry_categoriesCategoryName: TWideStringField
|
||
|
|
FieldName = 'CategoryName'
|
||
|
|
Size = 15
|
||
|
|
end
|
||
|
|
object qry_categoriesDescription: TMemoField
|
||
|
|
FieldName = 'Description'
|
||
|
|
BlobType = ftMemo
|
||
|
|
end
|
||
|
|
object qry_categoriesPicture: TBlobField
|
||
|
|
FieldName = 'Picture'
|
||
|
|
end
|
||
|
|
end
|
||
|
|
object con_SqlServer: TADOConnection
|
||
|
|
ConnectionString =
|
||
|
|
'Provider=SQLOLEDB.1;Integrated Security=SSPI;Initial Catalog=Nor' +
|
||
|
|
'thwind;Data Source=localhost;'
|
||
|
|
LoginPrompt = False
|
||
|
|
Provider = 'SQLOLEDB.1'
|
||
|
|
Left = 24
|
||
|
|
Top = 8
|
||
|
|
end
|
||
|
|
object prv_categories: TDataSetProvider
|
||
|
|
DataSet = qry_categories
|
||
|
|
Left = 57
|
||
|
|
Top = 38
|
||
|
|
end
|
||
|
|
end
|