c# - Read the column value extract the substring and over write the substring value -


i copying data 1 excel sheet compare. need date in columns date plus time present. write code iterate through column fetch substring , write . tried code

        int ncolumns = ws2.usedrange.columns.count;         int nrows = ws2.usedrange.rows.count;          (int = 3; < nrows; i++)         {             (int j = 2; j < ncolumns; j++)             {                 string order_date = ws2.columns[i, "a" + j];                 string order_date_2 = order_date.substring(9);                 ws2.columns[i, "a2"] = order_date_2;             }         } 


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -