473,396 Members | 1,767 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,396 software developers and data experts.

change DataSet Row background color

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
Jun 23 '06 #1
4 2645
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

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:A6**********************************@microsof t.com...
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

Jun 24 '06 #2
Cor,

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

Thanks,

"Cor Ligthert [MVP]" wrote:
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

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:A6**********************************@microsof t.com...
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


Jun 26 '06 #3
Martin,

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

Cor

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:61**********************************@microsof t.com...
Cor,

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

Thanks,

"Cor Ligthert [MVP]" wrote:
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

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:A6**********************************@microsof t.com...
> 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


Jun 26 '06 #4
Cor,

I am wrong place, i should use DataGridView to change color.

Thanks,
"Cor Ligthert [MVP]" wrote:
Martin,

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

Cor

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:61**********************************@microsof t.com...
Cor,

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

Thanks,

"Cor Ligthert [MVP]" wrote:
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

"martin1" <ma*****@discussions.microsoft.com> schreef in bericht
news:A6**********************************@microsof t.com...
> 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


Jun 27 '06 #5

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

Similar topics

2
by: Itay L. | last post by:
Dear all, I am trying to figure out how to change the background color of my menubar under Windows. I've tried the following: from Tkinter import * root = Tk()
2
by: Sean | last post by:
Hi all, I have a treeview and because I subclass the treeview and allow multiple selection to be done on the treeview, I have a problem changing the background color of the treeview. The...
1
by: HS1 | last post by:
Hello I can change the background of each page of a TabControl but cannot change the background (BackColor) of this tabcontrol. I did not see it in the properties page. If you know how to...
0
by: Bharathi Kumar | last post by:
Hi, Iam working in a windows application using .Net framework 2.0, VS.NET 2005 and CR X. Scenario : When we create a report using CR by default they will be assigned some background colors.
1
by: yxq | last post by:
There are two picturebox controls(A and B) on a form, the A's background color will become blue while clicks A(here, the B's background color will become control color), the B's background color...
5
by: christele | last post by:
Hello I am new to java, and I can not get my stuff to work. For my defense i had the worst teacher ever, and I am trying to learn by myself!!!! I am trying to have a pop up menu with a set width...
13
by: shapper | last post by:
Hello, I see in many web sites, such in Google, inputs that when i click on them to write something they change their style. This works both in Firefox and IE (These are the ones with which I...
1
by: rengaraj | last post by:
Hello I have a question about create a Form on J2ME Midlet. How could we change the Background Color Of Form? Is it possible? Thanx a lot.
6
by: AdamOnAccess | last post by:
Hi all, I'm in Windows XP, Access 2007. I need to create either a tabular subform or a list box that, from a query, returns a list of records showing amounts of money sorted in descending...
2
by: michaelmaria313 | last post by:
Hi All, I am brand new (like 2 weeks) to ASP.NET and VB. I have a series of linkbuttons that are generated dynamically inside a repeater. I need the background color of the selected linkButton...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
0
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
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...

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.