单击提交按钮时如何生成ID

问题描述:

亲爱的所有人,

我有带有文本字段和带有个人详细信息的提交按钮的Webform.

我的要求是,单击提交按钮后,人员将自动生成ID,当新人员提交其详细信息时,ID将增加1.

请给出解决方案.

dear all,

I have webform with textfields & with submit button of person details.

My requirement is after clicking submit button person''id should automatically generate and it is incremented by 1 as new person submit his details.

please give the solution.

对于指定的要求,在可用信息最少的情况下,我认为您需要使用非易失性存储,例如DB.
您可以将自动递增的"id"字段作为主键的用户或个人表.

使用此ID.

谢谢
Milind
For the requirement specified, with least information available in question, I think you need to use a non-volatile storage like DB.
You can have user or person table with auto-increment "id" field as primary key.

Use this id.

Thanks
Milind


进行身份(属性) [ ^ ]要增加的列true.
Make IDENTITY (Property)[^] of your column true, which you want to increment.