Hi, everyone I'm newbie to asp.net and currently getting mud with how to display something in label I'm thinking to visualize it: CEO>GM>Manager> Supervisor>Work er
As example:
First of all, there is only "CEO"inside Label1 when user click on a "down"button,La bel1 will update into "CEO>GM"
user click again on "down",Label1wi ll update again into "CEO>GM>Manager " and so on..
then when user click on "up" button, Label1 will delete the last name in the string
Ex: CEO>GM>Manager =========> CEO>GM
Right now, what I had did is only "down" button , but "up" button
I dont know how to figure it out: Label1.Text = Label1.Text + " > " + e.Item.Cells(1) .Text + " " + e.Item.Cells(2) .Text
I'm taking name from a datagrid
Please give me some direction to go, thanks in advance..
As example:
First of all, there is only "CEO"inside Label1 when user click on a "down"button,La bel1 will update into "CEO>GM"
user click again on "down",Label1wi ll update again into "CEO>GM>Manager " and so on..
then when user click on "up" button, Label1 will delete the last name in the string
Ex: CEO>GM>Manager =========> CEO>GM
Right now, what I had did is only "down" button , but "up" button
I dont know how to figure it out: Label1.Text = Label1.Text + " > " + e.Item.Cells(1) .Text + " " + e.Item.Cells(2) .Text
I'm taking name from a datagrid
Please give me some direction to go, thanks in advance..
Comment