Hi all
I'm creating dynamic linkbuttons from my code behind page(c#), i have a problem where i can assign the on click property to the button. im using the following code
LinkButton lb = new LinkButton();
lb.ID = "l" + j.ToString();
lb.Text = cnmdrv["Name"].ToString();
//lb.Click = getdet(i);
lb.OnClick = getdet(i);
PH1.Controls.Add(lb);
im getting error, i need the button to call this function with value provied
protected string getdet(int i) Go to the complete details ...