HWJ
HWJ

Reputation: 87

How to Automatically generate GUID in asp.net mvc4 form while insert data to Db

How to Automatically generate GUID in asp.net mvc4 form while insert data to Db

i need to add GUID data type to my table and need to insert automatically 16bit value while submit other data

Upvotes: 5

Views: 5530

Answers (1)

Hasib Tarafder
Hasib Tarafder

Reputation: 5813

Please check the following link..

Using a GUID as the ID in a database with ASP.NET MVC

I think your problem might be solved.

Upvotes: 2

Related Questions