ADO.NET DataRow – check for column existence
You can simply check like this: return row.Table.Columns.Contains(columnName);
You can simply check like this: return row.Table.Columns.Contains(columnName);
You can find more information directly on this link: http://datatables.net/examples/basic_init/filter_only.html $(document).ready(function() { $(‘#example’).dataTable({ “bPaginate”: false, “bLengthChange”: false, “bFilter”: true, “bInfo”: false, “bAutoWidth”: false }); }); Hope that helps ! EDIT : If you are lazy, “bLengthChange”: false, is the one you need to change 🙂
Here are a couple of discussions explaining why Dispose is not necessary for a DataSet. To Dispose or Not to Dispose ?: The Dispose method in DataSet exists ONLY because of side effect of inheritance– in other words, it doesn’t actually do anything useful in the finalization. Should Dispose be called on DataTable and DataSet … Read more