Hi,
I am very new to c#. I try to generate dynamic link labels from
2darray, then set 'click' event on the labels where there will be a
pop up message box displaying another value from 2d array. My code is
as follow :
for(int i=0;i<2;i++)
{
//Create label -> group name
Label objBox = new Label();
objBox.Location = new System.Drawing.Point(24, y);
objBox.Name = group;
objBox.Text= group[i,1];
groupBox1.Controls.Add(objBox);
y=y+30;
}
when the user click on particular link label, suppose it will show
message box containing value of group[i,2]. Any help greatly
appreciated!!!
Justme,
bambli
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com