A
anon
Hello Everybody,
I am stuck with a design issue and a looking for any directions on how
to accomplish this...
I have a database with certain not null fields...like for eg degree 1,
degree 2 degree 3 etc...
i would like to display the person's photo and then have a bulleted list
alongside the photo with the list of their degrees....i tried using a
listbox, however i would like the control that displays the degrees to
be transparent, iw as unable to set the color to transparent...also the
db has upto 5 degrees( ! ! ) but not all will have those, so if there
are nulls it gives errors....
heres the skeleton code
1.do db part...get using datareader
2.while(dr.read())
{
listbox.items.add(dr["degree1"].Tostring());
..
..
..
lisbox.....(dr["degree5"]...
}
3.close and cleanup of db con...
how do i accomplish this? Is there any other control to do this...?
thanks
}
I am stuck with a design issue and a looking for any directions on how
to accomplish this...
I have a database with certain not null fields...like for eg degree 1,
degree 2 degree 3 etc...
i would like to display the person's photo and then have a bulleted list
alongside the photo with the list of their degrees....i tried using a
listbox, however i would like the control that displays the degrees to
be transparent, iw as unable to set the color to transparent...also the
db has upto 5 degrees( ! ! ) but not all will have those, so if there
are nulls it gives errors....
heres the skeleton code
1.do db part...get using datareader
2.while(dr.read())
{
listbox.items.add(dr["degree1"].Tostring());
..
..
..
lisbox.....(dr["degree5"]...
}
3.close and cleanup of db con...
how do i accomplish this? Is there any other control to do this...?
thanks
}