473,503 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I use the Locals Window to find a value in a Dataset????

How in the heck do I traverse this rediculously long object model to find
out if I actually updated a particular value in my dataset???
Nov 17 '05 #1
5 997
You have to 'dig' <g>...

DataSet.Tables[].Rows[1][]

Digging through each of the collections is a nightmare. It's actually
quicker to just type this into the Command Windows or add a Watch for
something like this:

DataSet.Tables["MyTable"].Rows[0]["FieldName"]
+++ Rick ---
--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
----------------------------------
Making waves on the Web
"Aaron Ackerman" <no@spam.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How in the heck do I traverse this rediculously long object model to find
out if I actually updated a particular value in my dataset???

Nov 17 '05 #2
When I run this in the immediate window I get the following:
DsClient1.Tables["ClientByID"].Rows[0]["PersonLastName"]

Identifier expected.

DsClient1 is a typed dataset on my UI.

"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
You have to 'dig' <g>...

DataSet.Tables[].Rows[1][]

Digging through each of the collections is a nightmare. It's actually
quicker to just type this into the Command Windows or add a Watch for
something like this:

DataSet.Tables["MyTable"].Rows[0]["FieldName"]
+++ Rick ---
--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
----------------------------------
Making waves on the Web
"Aaron Ackerman" <no@spam.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How in the heck do I traverse this rediculously long object model to find out if I actually updated a particular value in my dataset???


Nov 17 '05 #3
do a ToString() at the end.
that works for me
"Aaron Ackerman" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
When I run this in the immediate window I get the following:
DsClient1.Tables["ClientByID"].Rows[0]["PersonLastName"]

Identifier expected.

DsClient1 is a typed dataset on my UI.

"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
You have to 'dig' <g>...

DataSet.Tables[].Rows[1][]

Digging through each of the collections is a nightmare. It's actually
quicker to just type this into the Command Windows or add a Watch for
something like this:

DataSet.Tables["MyTable"].Rows[0]["FieldName"]
+++ Rick ---
--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
----------------------------------
Making waves on the Web
"Aaron Ackerman" <no@spam.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
How in the heck do I traverse this rediculously long object model to find out if I actually updated a particular value in my dataset???



Nov 17 '05 #4
Nope that doesn't work same error.

"George Durzi" <gdurzi@nospam_hotmail.com> wrote in message
news:ub**************@TK2MSFTNGP12.phx.gbl...
do a ToString() at the end.
that works for me
"Aaron Ackerman" <no@spam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
When I run this in the immediate window I get the following:
DsClient1.Tables["ClientByID"].Rows[0]["PersonLastName"]

Identifier expected.

DsClient1 is a typed dataset on my UI.

"Rick Strahl [MVP]" <ri********@hotmail.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
You have to 'dig' <g>...

DataSet.Tables[].Rows[1][]

Digging through each of the collections is a nightmare. It's actually
quicker to just type this into the Command Windows or add a Watch for
something like this:

DataSet.Tables["MyTable"].Rows[0]["FieldName"]
+++ Rick ---
--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/wwHelp
----------------------------------
Making waves on the Web
"Aaron Ackerman" <no@spam.com> wrote in message
news:uO**************@TK2MSFTNGP12.phx.gbl...
> How in the heck do I traverse this rediculously long object model to

find
> out if I actually updated a particular value in my dataset???
>
>



Nov 17 '05 #5
"Aaron Ackerman" <no@spam.com> wrote in news:#yGhr2djDHA.2328
@TK2MSFTNGP10.phx.gbl:

DsClient1.Tables["ClientByID"].Rows[0]["PersonLastName"]

Identifier expected.

DsClient1 is a typed dataset on my UI.


If it's a typed dataset, shouldn't you be able to type:

DsClient1.ClientByID(0).PersonLastName

?

Chris

Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
2456
by: Paul Paterson | last post by:
I am trying to find a way to mimic by-reference argument passing for immutables in Python. I need to do this because I am writing an automated VB to Python converter. Here's an example of the VB...
2
4175
by: tedsuzman | last post by:
----- def f(): ret = 2 exec "ret += 10" return ret print f() ----- The above prints '12', as expected. However,
2
3239
by: Marc Miller | last post by:
When I am debugging my .NET webforms, I cannot open my watch and locals windows nor any other of the debugging windows. Does anyone know what the catch is? Is this like the bug with the...
0
1290
by: Armin Zingler | last post by:
Hello, to reproduce the follwoing steps, "managed DirectX" must be installed. Despite, this is not a DirectX but an IDE problem (at least in VB.Net). As nobody answered in m.p.vsnet.ide and...
6
2091
by: Aaron Ackerman | last post by:
How in the heck do I traverse this rediculously long object model to find out if I actually updated a particular value in my dataset???
4
7572
by: Anna Quick | last post by:
I am quite new to javascript, and don't seem to find the problem with stupid internet explorer. The script works fine in safari and mozilla. I searched the groups, but evidently put in the wrong...
6
2425
by: SkeanDu | last post by:
Ok, here is my problem. I have an aspx page that displays a databound datagrid and in one of the datagrid column headers I have an image that when clicked opens up a modal web dialog (another...
2
2950
by: =?iso-8859-1?B?QW5kcuk=?= | last post by:
I want to give a user the possibility of "restarting" an interactive session, by removing all the objects defined by her since the beginning. The way I make this possible is by having a "function"...
4
1327
by: rocksportrocker | last post by:
Hi, the following code does not work until I ommit the "a=0" statement. def test(): exec "a=3" in locals() print a a=0
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.