in my form,i have one of my column is "id" .
in the back end i created one table ,in which i declared id as varchar(because i want to accept id as number say 111 or a varchar say 111/05.
now from vb.net ,i am giving id as input and i am trying to retrieve all the corresponding fields.
if i give id as 111,then the corresponding fields are getting edited,deleted and updated.
if i give number as 111/05(here /05 is the year),then it is storing in the back end but ,while editing it is displaying that "No ID Exists".
and while deleting it is showing error as "Syntax error converting the varchar value '11/05' to a column of data type int".
any suggestions .
thks
in the back end i created one table ,in which i declared id as varchar(because i want to accept id as number say 111 or a varchar say 111/05.
now from vb.net ,i am giving id as input and i am trying to retrieve all the corresponding fields.
if i give id as 111,then the corresponding fields are getting edited,deleted and updated.
if i give number as 111/05(here /05 is the year),then it is storing in the back end but ,while editing it is displaying that "No ID Exists".
and while deleting it is showing error as "Syntax error converting the varchar value '11/05' to a column of data type int".
any suggestions .
thks