Posted: 6/10/2011
hihi...
anyone of you know how to create a auto generate data which can recycle the data after 30 days , i already have a primary key and it is identity specification.
Bascially i am doing a web service and Web A has a gridview which consume the data(bind it) and i need one of the column data to be a auto generate data beside primary key
So i was thinking, when i new a record in the detail view, it should already auto generate the primary key and that auto generate data
So that when i click on insert it update to the gridview, but the problem is i don't know how to create this auto generate data
The auto generate data can be use over again after 30 days ( the data is something like a id)
thanks in advance
Posted: 6/14/2011
Hello there...
Well, I see many possible solutions to this problem, but I'm not yet sure what exactly you need to accomplish and why you need this (it may give us more insight of how to help you the best possible way)...
If you want to autogenerate additional column key, you can do that based on your primary key...
Now, before proceeding, can youg ive us more details and example scenario?
Regards,Hajan