473,387 Members | 1,890 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1260
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
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
by: tedsuzman | last post by:
----- def f(): ret = 2 exec "ret += 10" return ret print f() ----- The above prints '12', as expected. However,
2
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.