Vinod
Vinod

Reputation:

Dynamically adding checkbox to DataGrid in Asp.Net

I am adding check box dynamically to DataGrid. I want to generate event for this dynamically generated checkbox? Any suggestions on how can I do this?

Upvotes: 0

Views: 437

Answers (1)

Otávio Décio
Otávio Décio

Reputation: 74270

  void Check_Clicked(Object sender, EventArgs e) 
  {
  }

  checkbox1.CheckedChanged += new EventHandler(this.Check_Clicked);

Upvotes: 1

Related Questions