VB .net Vs ADO .net

  • Thread starter Thread starter --=|3s|=--
  • Start date Start date
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
 
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
 
Back
Top