//please use cell formatting event and remove un necessary row.
private void grdview1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
try
{
if (this.grdview1.Columns[e.ColumnIndex].Name == "Availabledate")
{
if (this.grdview1.Rows[e.RowIndex] != null)
{
if (string.IsNullOrEmpty(this.grdview1["Availabledate", e.RowIndex].Value.ToString()) )
{
this.grdview1.Rows.RemoveAt(e.RowIndex);
}
}
}
}
catch(Exception ex)
{
}
}