473,480 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Accessing a Data Field

Hello Group,

I'm trying to access a single field of data from a dataset in a web form
without displaying it on the form. I'm trying to write a Login form and
need to equate values. Would anyone be able to provide a code snippet for
such.

I would have thought there'd be something like the following possible to do:

FieldValue = DsUsers.Row(x).Column(y)

But have not been able to determine such. Thank you,
Glenn T. Kitchen
Nov 21 '05 #1
4 1105
Glenn,

The standard beginners question with datasets.

FieldValue = DsUsers.Row(x).Column(y)

FieldValue = DsUsers.Table(x).Row(x).Items(y)

Items is default so this goes as well
DsUsers.Table(x).Rows(x)(y)

I hope this helps,

Cor
Nov 21 '05 #2
Hi Cor,

Thank you.

So could we look at a dataset as being a database, having tables within,
except that it's cached?

I'm gonna do some practicing with the stuff to see how it works out. Thanks
for your help.
Glenn

"Cor Ligthert" <no************@planet.nl> wrote in message
news:#e**************@tk2msftngp13.phx.gbl...
Glenn,

The standard beginners question with datasets.

FieldValue = DsUsers.Row(x).Column(y)

FieldValue = DsUsers.Table(x).Row(x).Items(y)

Items is default so this goes as well
DsUsers.Table(x).Rows(x)(y)

I hope this helps,

Cor

Nov 21 '05 #3
Glenn,
So could we look at a dataset as being a database, having tables within,
except that it's cached?


Often is toldt, that you can look to it as a database in memory. Although it
is possible to store it in an XML file on disk, can you not see it as a real
database because that you can only read/write complete files from/to disk.

Therefore I am not really glad with that description database because it
gives wrong idea's.
Cor
Nov 21 '05 #4
Cor,

I see your point and I now have a better perception of what a dataset is. I
did some work with the "new concept of a field" and everything is working
fine.

I wasn't far off... :-)

Thank you,
glenn

"Cor Ligthert" <no************@planet.nl> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
Glenn,
So could we look at a dataset as being a database, having tables within,
except that it's cached?
Often is toldt, that you can look to it as a database in memory. Although

it is possible to store it in an XML file on disk, can you not see it as a real database because that you can only read/write complete files from/to disk.

Therefore I am not really glad with that description database because it
gives wrong idea's.
Cor

Nov 21 '05 #5

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

Similar topics

3
1721
by: Mike Partridge | last post by:
Is it possible to access your caller's (not parent) context while inside a <xsl:template match...> or <xsl:for-each...>? Here is the xml I'm using: <report-set> ...<report> .....<detail-data>...
11
2157
by: Todd | last post by:
I have been tasked to create an app that will be run from a CD on stand-alone machines that needs to search and retrieve data from an XML Data Island. The best approach that I can see to handle...
1
1503
by: Esben Rune Hansen | last post by:
Hi I am working on a PHP-script and need javascript to set the value of a hidden field in a form. This field happens to be an entry in an array data according to my example. How can I do this? ...
33
7574
by: Steven Taylor | last post by:
Hope someone can help. This is half an Access question. The half I'm using is Access Xp as a backend data file. I'm using ODBC to connect to the data file. All commands are via SQL type...
1
2426
by: Moojjoo | last post by:
Good Monday Morning: I am at a dead stop and I am hoping some other developers out there can help me out. I have built a dataset that first contains a table populated from SQL Server then I am...
2
1441
by: CrazyAtlantaGuy | last post by:
I'm having a strange problem and I was hoping someone could give me some guidance. I am accessing a Microsoft SQL 2000 server through ASP scripts on our webserver. The sql server and web server...
0
12045
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
5
2249
by: samadams_2006 | last post by:
I'm having a problem in accessing a Microsoft Access Database in a VB.NET Web Application. It's so straight forward, I thought I'd walk you through all the details here: 1) I have a .NET Web...
1
1347
by: Martin Pöpping | last post by:
Hello, I´ve a problem with accessing the fields of a data row. I created a row of my table "Metainfos": private fp_databaseDataSet.MetainfosRow newMetainfosRow; and then I can access for...
1
1862
by: Bill | last post by:
We have a corporate database that was upgraded to Oracle 10 and I can no longer link to or query a table that contains a Time Stamp field with Access 2003. I've tried the Microsoft ODBC driver and...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7034
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
7076
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...
1
6732
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
6886
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5324
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
4768
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
4472
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
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.