Tuesday 3 June 2014

Remove Value from datatable in C#

 //for (int iCount = 0; iCount < dtBindableTimeInterval.Rows.Count; iCount++)
                    //{
                    //    if (strTimeInterval.Equals(Convert.ToString(dtBindableTimeInterval.Rows[iCount]["nmTimeInterval"])))
                    //    {
                    //        dtBindableTimeInterval.Rows.RemoveAt(iCount);
                    //        break;
                    //    }
                     
                    //}

No comments:

Post a Comment