Luca Romagnoli
Luca Romagnoli

Reputation: 12455

insert text between 2 controls

I want insert ":" between 2 dropdownlist in a cell.

tableCell.Controls.Add(DropDownListOraInizio);            
tableCell.Controls.Add(DropDownListMinutoInizio);

How can i do?

thanks

Upvotes: 0

Views: 80

Answers (1)

Mehrdad Afshari
Mehrdad Afshari

Reputation: 421978

tableCell.Controls.Add(DropDownListOraInizio);    
tableCell.Controls.Add(new LiteralControl(":"));      
tableCell.Controls.Add(DropDownListMinutoInizio);

Upvotes: 4

Related Questions