Ajayajaypatelfromsanthal.blogspot.in
void autoid() { //Get max of id from table then assign to tableid string tableid = "Opt_10"; string[] splitid = tableid.Split('_'); int incid = Convert.ToInt16(splitid[1]); incid++; string newid = "Po_" + incid++; //you call this method to needed place }
Regards Sekar.c
Login to post response