if (Convert.ToInt32(dsavailablity.Tables[0].Rows.Count) > Convert.ToInt32(dsavailablity.Tables[0].Rows[i])) While i checking this condition i am getting this error "Unable to cast object of type 'System.Data.DataRow' to type 'System.IConvertible'." pls provide me solution for that.
Convert.ToInt32(dsavailablity.Tables[0].Rows[i].Cells[0])
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)