this is my database and what i want to do is when i fetch the column name it should concatenate with rectangleShape
is this possible or is there another way to do it
my database
name check
1 True
2 False
code
while (dataReader.Read())
{
string name= dataReader["name"].ToString();
string check = dataReader["check "].ToString();
if (check =="True")
{
string add= "rectangleShape" + name ;
add.BackColor = Color.Red; //but this doesn't work
}