title: To make cell bold of an excel using Excel.OpenXml.Table
body: <p>To make cell bold of an excel using Excel.OpenXml.Table .</p>
  
  <p>The code : </p>
  
  <pre><code> XLTable objXLTable = new XLTable("TEST");
  
  Row&lt;string&gt; objDataRow = new Row&lt;string&gt;(RowType.Data);
  
  
  
  for(int i=0; i&lt; 10 ; i++)
  {
           Cell&lt;string&gt; c1 = new Cell&lt;string&gt;("Row number " + i.toString());
           Cell&lt;string&gt; c2 = new Cell&lt;string&gt;("tt" );
           Cell&lt;string&gt; c3 = new Cell&lt;string&gt;("bb " );
  
           objDataRow.Add(c1);
           objDataRow.Add(c2);
           objDataRow.Add(c3);
  }
  
   objXLTable.Add(objDataRow);
  </code></pre>
  
  <p>I want to make c1 cell bold .What i have tried :</p>
  
  <pre><code> Cell&lt;string&gt; c1 = new Cell&lt;string&gt;("Row number " + i.toString(),10);
  </code></pre>
  
  <p>ANd</p>
  
  <pre><code>c1.BoldIndex =10 ;
  </code></pre>
  
  <p>But no effect .  c1. style is not there .any help will be appreciated</p>