Home All Groups Group Topic Archive Search About
Author
11 Dec 2004 4:46 PM
Arsalan
What is the equivalent of

DataEnvironment1.rsCommand1("FIELD") [VB Dataenvironment]

in ADO.NET?

Author
11 Dec 2004 5:53 PM
Scott M.
It's hard to exactly answer your question since we no longer use Data
Environments or Recordsets.  We now store data in a disconnected mode inside
of an entity called a DataTable.  DataTables can be used as individual units
or placed inside of a larger entity called a DataSet (where other DataTables
can be stored inside of a Tables collection).

Either way, you access a field of a DataTable via it's "Item" property:

DataTable.Item("FIELD")


Show quote
"Arsalan" <arsalan_as***@hotmail.com> wrote in message
news:%23VFtQD63EHA.1392@tk2msftngp13.phx.gbl...
> What is the equivalent of
>
> DataEnvironment1.rsCommand1("FIELD") [VB Dataenvironment]
>
> in ADO.NET?
>
Author
11 Dec 2004 7:21 PM
Arsalan
Thanks.

So what step do i need to follow,
first i've to make dataset, and fill it , then link datatable to dataset ?
am I right?

Show quote
"Scott M." <s-mar@nospam.nospam> wrote in message
news:e$6bon63EHA.1204@TK2MSFTNGP10.phx.gbl...
> It's hard to exactly answer your question since we no longer use Data
> Environments or Recordsets.  We now store data in a disconnected mode
> inside of an entity called a DataTable.  DataTables can be used as
> individual units or placed inside of a larger entity called a DataSet
> (where other DataTables can be stored inside of a Tables collection).
>
> Either way, you access a field of a DataTable via it's "Item" property:
>
> DataTable.Item("FIELD")
>
>
> "Arsalan" <arsalan_as***@hotmail.com> wrote in message
> news:%23VFtQD63EHA.1392@tk2msftngp13.phx.gbl...
>> What is the equivalent of
>>
>> DataEnvironment1.rsCommand1("FIELD") [VB Dataenvironment]
>>
>> in ADO.NET?
>>
>
>
Author
12 Dec 2004 4:22 AM
Scott M.
The act of filling a DataSet will cause a DataTable to be created (if none
exist already).

Or, you could manually populate a DataTable and then add it to a DataSet.


Show quote
"Arsalan" <arsalan_as***@hotmail.com> wrote in message
news:e3a%23Ka73EHA.1596@tk2msftngp13.phx.gbl...
> Thanks.
>
> So what step do i need to follow,
> first i've to make dataset, and fill it , then link datatable to dataset ?
> am I right?
>
> "Scott M." <s-mar@nospam.nospam> wrote in message
> news:e$6bon63EHA.1204@TK2MSFTNGP10.phx.gbl...
>> It's hard to exactly answer your question since we no longer use Data
>> Environments or Recordsets.  We now store data in a disconnected mode
>> inside of an entity called a DataTable.  DataTables can be used as
>> individual units or placed inside of a larger entity called a DataSet
>> (where other DataTables can be stored inside of a Tables collection).
>>
>> Either way, you access a field of a DataTable via it's "Item" property:
>>
>> DataTable.Item("FIELD")
>>
>>
>> "Arsalan" <arsalan_as***@hotmail.com> wrote in message
>> news:%23VFtQD63EHA.1392@tk2msftngp13.phx.gbl...
>>> What is the equivalent of
>>>
>>> DataEnvironment1.rsCommand1("FIELD") [VB Dataenvironment]
>>>
>>> in ADO.NET?
>>>
>>
>>
>
>
Author
12 Dec 2004 8:29 AM
Arsalan
Thanks a lot
Show quote
"Scott M." <s-mar@nospam.nospam> wrote in message
news:uhgFKHA4EHA.2316@TK2MSFTNGP15.phx.gbl...
> The act of filling a DataSet will cause a DataTable to be created (if none
> exist already).
>
> Or, you could manually populate a DataTable and then add it to a DataSet.
>
>
> "Arsalan" <arsalan_as***@hotmail.com> wrote in message
> news:e3a%23Ka73EHA.1596@tk2msftngp13.phx.gbl...
>> Thanks.
>>
>> So what step do i need to follow,
>> first i've to make dataset, and fill it , then link datatable to dataset
>> ? am I right?
>>
>> "Scott M." <s-mar@nospam.nospam> wrote in message
>> news:e$6bon63EHA.1204@TK2MSFTNGP10.phx.gbl...
>>> It's hard to exactly answer your question since we no longer use Data
>>> Environments or Recordsets.  We now store data in a disconnected mode
>>> inside of an entity called a DataTable.  DataTables can be used as
>>> individual units or placed inside of a larger entity called a DataSet
>>> (where other DataTables can be stored inside of a Tables collection).
>>>
>>> Either way, you access a field of a DataTable via it's "Item" property:
>>>
>>> DataTable.Item("FIELD")
>>>
>>>
>>> "Arsalan" <arsalan_as***@hotmail.com> wrote in message
>>> news:%23VFtQD63EHA.1392@tk2msftngp13.phx.gbl...
>>>> What is the equivalent of
>>>>
>>>> DataEnvironment1.rsCommand1("FIELD") [VB Dataenvironment]
>>>>
>>>> in ADO.NET?
>>>>
>>>
>>>
>>
>>
>
>

AddThis Social Bookmark Button