change DataSet Row background color

G

Guest

Hi,

want to loop DataSet to change row background color based on data retrieved
from sql db, the color can be blue, yellow, red or purple. Therefore, Is
there any way (vb.net) to change dataset row background color? how to loop
dataset, which is already populated data from database?

Thanks
 
C

Cor Ligthert [MVP]

Martin,

A dataset has never a background color. The control that you use to show the
dataset can have a background, but that can even be more if you show the
dataset in the same time using many controls.

I hope this helps,

Cor
 
G

Guest

Cor,

can we use DataSet's table and NewRow() property/method like
DataSet.Tables().NewRow() to change row background color?

Thanks,
 
C

Cor Ligthert [MVP]

Martin,

Where can you look at that color in the dataset.
It is a piece in memory.

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