Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 545
HWJ Avatar asked Nov 03 '22 21:11

HWJ


1 Answers

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.

like image 120
Hasib Tarafder Avatar answered Nov 15 '22 06:11

Hasib Tarafder