Hello Team,
I faced a situation where gridview is throwing some expected which i am unable to catch
i have a gridview,where user adding data to it the grid, through .csv file means user imports .csv file data to datagrid and then clicks button clear which make the grid datasource to null,
which is datagrid.datasource=null; now if entered any string value in the grid it is throwing this expecption
Step By Step: user clicked Add field values
user selects the .csv file to import data into grid
Data imported from .csv to grid
Now clicks Clear button to clear the data in the grid, here when user clicks the clear button i am making the datasource of the grid to null
now user enters some string value in the grid
Now press tab, its throwing the error
input string was not in correct format and i dont know where to capture the error and how to handle, can you please help me
Regards
Lakshmi
I faced a situation where gridview is throwing some expected which i am unable to catch
i have a gridview,where user adding data to it the grid, through .csv file means user imports .csv file data to datagrid and then clicks button clear which make the grid datasource to null,
which is datagrid.datasource=null; now if entered any string value in the grid it is throwing this expecption
Step By Step: user clicked Add field values
user selects the .csv file to import data into grid
Data imported from .csv to grid
Now clicks Clear button to clear the data in the grid, here when user clicks the clear button i am making the datasource of the grid to null
now user enters some string value in the grid
Now press tab, its throwing the error
input string was not in correct format and i dont know where to capture the error and how to handle, can you please help me
Regards
Lakshmi