Hi, I want to generate a unique id.
In my table i have column like -
I am using MYSQL database and i want code in C#
Category - "Test Category"
Name - "Name Test"
UniqueId - ?
no i want to generate unique id like - "T_N_000001" for first data and for second it will be increment.... like "T_N_000002"
but if category = "Category" and Name = "Name" then it should start from C_N_000001
like this i want.....
if my question is not clear please tell me.
Unique Id in asp.net
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhineet SrivastavaRank #1,890 · 783 reputationPosted Sep 5, 2013, 4:22 AM EDT
rachayita jaiswal182 reputationPosted Sep 5, 2013, 9:11 PM EDT
AB00001
AB00002
.....
CD00001
...
Like that.
Abhineet SrivastavaRank #1,890 · 783 reputationPosted Sep 5, 2013, 9:24 PM EDT
Kindly go through this link-
http://forums.asp.net/t/1664095.aspx
Cheers
rachayita jaiswal182 reputationPosted Sep 5, 2013, 9:30 PM EDT
i don't want in sql (back end)
Abhineet SrivastavaRank #1,890 · 783 reputationPosted Sep 6, 2013, 8:18 AM EDT
If you searched the solution than please share it with me.
Cheers