{"id":17131,"date":"2015-07-10T13:02:29","date_gmt":"2015-07-10T08:02:29","guid":{"rendered":"https:\/\/www.thenerdmag.com\/?p=17131"},"modified":"2019-12-27T06:49:34","modified_gmt":"2019-12-27T01:49:34","slug":"create-login-website-creating-unique-identifier-part-4-asp-net","status":"publish","type":"post","link":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/","title":{"rendered":"Create a login Website \u2013 Creating unique identifier (Part 4) in Asp.net"},"content":{"rendered":"

As our ASP.net website is in progress. Have you\u00a0completed everything previously done? If not done Review our Education Panel and see the ASP tutorials<\/a> from start. Then you are going great. In this article we will show you how to create unique identifiers for each user. You would have noticed that in the previous article. We did not insert of set any user ID. Now here we are going to set a unique ID for them.
\nFirst you have to check that in database the type of ID must be nvarchar(50).<\/strong> If on any change it shows a warning message i will show you how to deal with it.<\/p>\n

\"1\"

\"2\"

\"3\"

\"4\"

 <\/p>\n

Article Written by Waleed Rashid. More info here<\/a>.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"

As our ASP.net website is in progress. Have you\u00a0completed everything previously done? If not done Review our Education Panel and see the ASP tutorials from start. Then you are going great. In this article we will show you how to create unique identifiers for each user. You would have noticed that in the previous article. We did not insert of set any user ID. Now here we are going to set a unique ID for them. First you have to […]<\/p>\n","protected":false},"author":1,"featured_media":17128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[922,158],"tags":[1358,1359,1365,12],"yoast_head":"\nCreate a Website Login and Create unique identifier in Asp.net<\/title>\n<meta name=\"description\" content=\"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a Website Login and Create unique identifier in Asp.net\" \/>\n<meta property=\"og:description\" content=\"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\" \/>\n<meta property=\"og:site_name\" content=\"TheNerdMag\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/TheNerdMag\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-10T08:02:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-27T01:49:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thenerdmag.com\/wp-content\/uploads\/2015\/07\/newfi.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"810\" \/>\n\t<meta property=\"og:image:height\" content=\"292\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Uzair Ahmad Ch\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@TheNerdMag\" \/>\n<meta name=\"twitter:site\" content=\"@TheNerdMag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Uzair Ahmad Ch\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\"},\"author\":{\"name\":\"Uzair Ahmad Ch\",\"@id\":\"https:\/\/thenerdmag.com\/#\/schema\/person\/4024ad8a2e33e2e2058bd55354f39cd4\"},\"headline\":\"Create a login Website \u2013 Creating unique identifier (Part 4) in Asp.net\",\"datePublished\":\"2015-07-10T08:02:29+00:00\",\"dateModified\":\"2019-12-27T01:49:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\"},\"wordCount\":306,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/thenerdmag.com\/#organization\"},\"keywords\":[\"ASP\",\"ASP.net\",\"ASP.net tutorials\",\"Microsoft\"],\"articleSection\":[\"Education\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\",\"url\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\",\"name\":\"Create a Website Login and Create unique identifier in Asp.net\",\"isPartOf\":{\"@id\":\"https:\/\/thenerdmag.com\/#website\"},\"datePublished\":\"2015-07-10T08:02:29+00:00\",\"dateModified\":\"2019-12-27T01:49:34+00:00\",\"description\":\"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net\",\"breadcrumb\":{\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/thenerdmag.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a login Website \u2013 Creating unique identifier (Part 4) in Asp.net\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/thenerdmag.com\/#website\",\"url\":\"https:\/\/thenerdmag.com\/\",\"name\":\"TheNerdMag\",\"description\":\"Internet - Technology - Gadgets\",\"publisher\":{\"@id\":\"https:\/\/thenerdmag.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/thenerdmag.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/thenerdmag.com\/#organization\",\"name\":\"TheNerdMag\",\"url\":\"https:\/\/thenerdmag.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thenerdmag.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.thenerdmag.com\/wp-content\/uploads\/2021\/08\/TNM-Logo-V2-250.png\",\"contentUrl\":\"https:\/\/www.thenerdmag.com\/wp-content\/uploads\/2021\/08\/TNM-Logo-V2-250.png\",\"width\":250,\"height\":250,\"caption\":\"TheNerdMag\"},\"image\":{\"@id\":\"https:\/\/thenerdmag.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/www.facebook.com\/TheNerdMag\",\"https:\/\/twitter.com\/TheNerdMag\",\"https:\/\/www.instagram.com\/TheNerdMag\/\",\"https:\/\/www.youtube.com\/Thenerdmag\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/thenerdmag.com\/#\/schema\/person\/4024ad8a2e33e2e2058bd55354f39cd4\",\"name\":\"Uzair Ahmad Ch\",\"description\":\"Uzair Ahmad Ch is Founder and Editor in Chief of TheNerdMag. Uzair loves technology, internet and gadgets from childhood. That's why he is so into tech talks, internet news and updates. This interest encouraged him to start a blog about Technology. Currently he is doing Bachelors in Computer Science and leads Team TheNerdMag. TheNerdMag was founded by him in 2012. You can reach him via his social profiles or email him at uzairfreak [at] thenerdmag.com\",\"url\":\"https:\/\/thenerdmag.com\/author\/uzairahmadch\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a Website Login and Create unique identifier in Asp.net","description":"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/","og_locale":"en_US","og_type":"article","og_title":"Create a Website Login and Create unique identifier in Asp.net","og_description":"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net","og_url":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/","og_site_name":"TheNerdMag","article_publisher":"http:\/\/www.facebook.com\/TheNerdMag","article_published_time":"2015-07-10T08:02:29+00:00","article_modified_time":"2019-12-27T01:49:34+00:00","og_image":[{"width":810,"height":292,"url":"https:\/\/thenerdmag.com\/wp-content\/uploads\/2015\/07\/newfi.jpg","type":"image\/jpeg"}],"author":"Uzair Ahmad Ch","twitter_card":"summary_large_image","twitter_creator":"@TheNerdMag","twitter_site":"@TheNerdMag","twitter_misc":{"Written by":"Uzair Ahmad Ch","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#article","isPartOf":{"@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/"},"author":{"name":"Uzair Ahmad Ch","@id":"https:\/\/thenerdmag.com\/#\/schema\/person\/4024ad8a2e33e2e2058bd55354f39cd4"},"headline":"Create a login Website \u2013 Creating unique identifier (Part 4) in Asp.net","datePublished":"2015-07-10T08:02:29+00:00","dateModified":"2019-12-27T01:49:34+00:00","mainEntityOfPage":{"@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/"},"wordCount":306,"commentCount":0,"publisher":{"@id":"https:\/\/thenerdmag.com\/#organization"},"keywords":["ASP","ASP.net","ASP.net tutorials","Microsoft"],"articleSection":["Education","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/","url":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/","name":"Create a Website Login and Create unique identifier in Asp.net","isPartOf":{"@id":"https:\/\/thenerdmag.com\/#website"},"datePublished":"2015-07-10T08:02:29+00:00","dateModified":"2019-12-27T01:49:34+00:00","description":"Here is another tutorial for you in which you can learn how to Create a Website Login and Create a unique identifier in Asp.net","breadcrumb":{"@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/thenerdmag.com\/create-login-website-creating-unique-identifier-part-4-asp-net\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thenerdmag.com\/"},{"@type":"ListItem","position":2,"name":"Create a login Website \u2013 Creating unique identifier (Part 4) in Asp.net"}]},{"@type":"WebSite","@id":"https:\/\/thenerdmag.com\/#website","url":"https:\/\/thenerdmag.com\/","name":"TheNerdMag","description":"Internet - Technology - Gadgets","publisher":{"@id":"https:\/\/thenerdmag.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thenerdmag.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/thenerdmag.com\/#organization","name":"TheNerdMag","url":"https:\/\/thenerdmag.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thenerdmag.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.thenerdmag.com\/wp-content\/uploads\/2021\/08\/TNM-Logo-V2-250.png","contentUrl":"https:\/\/www.thenerdmag.com\/wp-content\/uploads\/2021\/08\/TNM-Logo-V2-250.png","width":250,"height":250,"caption":"TheNerdMag"},"image":{"@id":"https:\/\/thenerdmag.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/TheNerdMag","https:\/\/twitter.com\/TheNerdMag","https:\/\/www.instagram.com\/TheNerdMag\/","https:\/\/www.youtube.com\/Thenerdmag"]},{"@type":"Person","@id":"https:\/\/thenerdmag.com\/#\/schema\/person\/4024ad8a2e33e2e2058bd55354f39cd4","name":"Uzair Ahmad Ch","description":"Uzair Ahmad Ch is Founder and Editor in Chief of TheNerdMag. Uzair loves technology, internet and gadgets from childhood. That's why he is so into tech talks, internet news and updates. This interest encouraged him to start a blog about Technology. Currently he is doing Bachelors in Computer Science and leads Team TheNerdMag. TheNerdMag was founded by him in 2012. You can reach him via his social profiles or email him at uzairfreak [at] thenerdmag.com","url":"https:\/\/thenerdmag.com\/author\/uzairahmadch\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/thenerdmag.com\/wp-content\/uploads\/2015\/07\/newfi.jpg","jetpack_shortlink":"https:\/\/wp.me\/p2IqIJ-4sj","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/posts\/17131"}],"collection":[{"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/comments?post=17131"}],"version-history":[{"count":0,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/posts\/17131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/media\/17128"}],"wp:attachment":[{"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/media?parent=17131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/categories?post=17131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenerdmag.com\/wp-json\/wp\/v2\/tags?post=17131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}