Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.2k

Repeater ItemDataBound

May 28 2023 9:07 AM

Hi

  In repeater DataItemBound i have below code . I want to add <span class='badge bg-success-400 mr-1'>" to ltrlStudents.text.

It should apply to only colum1.name + colum1.mobileno.

htmlTable.Append("<span class='badge bg-success-400 mr-1'>" + colum1.Name + " - " + colum1.MobileNo + "</span>");
                                    ltrlStudents.Text = ltrlStudents.Text + colum1.Name + " - " + colum1.MobileNo;

Thanks


Answers (1)