Hi..............
I have one column named 'Code' and other 'IdNumber' when i enter 'code' as a1 it should display 'IdNumber' as 1,again if i enter a1 it should display 'IdNumber' as 2 in this manner it should increase its value while 'code' is a1 but if i enter b1 again the 'IdNumber' should be 1,again if i enter it should display 2 same manner it should increase.This should be in mvc 4,Pls help in this.Thanks in advance
Loading

Praveen NPosted May 5, 2014, 3:31 AM
Create Table TableAutoIncrement (IdNumber int identity,Code varchar(20) )
Regards,
Praveen Nelge
Sasi ReddyPosted May 3, 2014, 5:51 AM
Munesh SharmaPosted May 3, 2014, 2:10 AM