title: How to show No record found in GridView if binded datasource is List Collection
body: <p><br>
         I have a gridview in which dtasource binded is a List which returns class type. If no records in list, I want to display 'No records found' in GridView.</p>
  
  <pre><code>List&lt;Ticket&gt; ticketList = new List&lt;Ticket&gt;();
  ticketList = _tktBusiness.ReadAll(_tkt);
  if (ticketList.Count &gt; 0)
  {
      gridTicketList.DataSource = ticketList;
      gridTicketList.DataBind();
  }
  else
  {
  }
  </code></pre>
  
  <p>In else part, what code i have to write to get desired output?Can anybody help?</p>