title: How to add watermark to dynamically created text boxes?
body: <p>I have a web page where I get a count of total Text box  to be added dynamically. I have added a HTML table to which I add rows and cells to place the text box. </p>
  
  <p>I do not wish to add label controls for each text box but wish to place watermark text inside each text box which are dynamically created as an array of text boxes.</p>
  
  <p>Please help me to achieve this. Any code will be much better!</p>
  
  <p>Below code is what I have written which only created text box inside the HTML table control.</p>
  
  <pre><code>//Add row to table
  tRow = new TableRow();
  tblBokingDet.Rows.Add(tRow);
  
  //Add cell to row
  tCell = new TableCell();
  tRow.Cells.Add(tCell);
  
  //Add a literal text as control
  AddTextBox = new TextBox();
  AddTextBox.ID = "txtName" + i;                    
  tCell.Controls.Add(AddTextBox);
  </code></pre>