VB .net Vs ADO .net

3

--=|3s|=--

i need to compare a string "M" with a column <sex> in my table
<customers>. How do I point in vb.net directly to a value in
my customers table? I have a dataset and a oledbdataadapter.... Now
i want a statement whick compares string "M" with the value of column
<geslacht> in table <customers>

Thx
 
C

Cor

Hi Dries,

What you mean with vb.net versus ado.net?

However to compare a string in to a row from a dataset can be as simple as
(in vb.net)

if ds.tables("customers").rows(index)("geslacht")="M" then

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top