Loading ...

create a auto generate data which can recycle the data after 30 days in detail views

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  data access   » create a auto generate data which can recycle the data after 30 days in detail views

create a auto generate data which can recycle the data after 30 days in detail views

Posts under the topic: create a auto generate data which can recycle the data after 30 days in detail views

Posted: 6/10/2011

Lurker 20  points  Lurker
  • Joined on: 6/9/2011
  • Posts: 4

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

Professional 8505  points  Professional
  • Joined on: 5/3/2010
  • Posts: 391

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


Page 1 of 1 (2 items)