Click here to Skip to main content
15,906,574 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: RE: Visual Studio NOOB question - XML - Pin
Not Active29-Nov-11 8:46
mentorNot Active29-Nov-11 8:46 
QuestionPlease suggest tools/ codes (Jquery Nested Expression Builder ) Pin
sysmatrix29-Nov-11 1:33
sysmatrix29-Nov-11 1:33 
AnswerRe: Please suggest tools/ codes (Jquery Nested Expression Builder ) Pin
jkirkerx29-Nov-11 18:37
professionaljkirkerx29-Nov-11 18:37 
QuestionPrimary key specific format. Pin
sk_ko28-Nov-11 16:16
sk_ko28-Nov-11 16:16 
AnswerRe: Primary key specific format. Pin
nilschaudhari28-Nov-11 21:48
nilschaudhari28-Nov-11 21:48 
GeneralRe: Primary key specific format. Pin
sk_ko29-Nov-11 14:10
sk_ko29-Nov-11 14:10 
AnswerRe: Primary key specific format. Pin
CDP180228-Nov-11 22:38
CDP180228-Nov-11 22:38 
AnswerRe: Primary key specific format. Pin
Paladin200029-Nov-11 6:36
Paladin200029-Nov-11 6:36 
Perhaps you mean something like this?

int x = 0;
string myKey = "A" + (x++).ToString("D5");


However, I would recommend (strongly) against generating a primary key outside of the database itself (such as in C#).

What type of database are you using? Microsoft SQL Server? This can be accomplished with a before-insert trigger within the database.
GeneralRe: Primary key specific format. Pin
sk_ko29-Nov-11 13:46
sk_ko29-Nov-11 13:46 
AnswerRe: Primary key specific format. Pin
Andy_L_J29-Nov-11 18:46
Andy_L_J29-Nov-11 18:46 
QuestionAvoid Refer of page on Menu Item click. Pin
Member 322226428-Nov-11 2:23
Member 322226428-Nov-11 2:23 
AnswerRe: Avoid Refer of page on Menu Item click. Pin
Anuj Banka28-Nov-11 2:45
Anuj Banka28-Nov-11 2:45 
AnswerRe: Avoid Refer of page on Menu Item click. Pin
Not Active28-Nov-11 6:28
mentorNot Active28-Nov-11 6:28 
Questionasp.net keypress event Pin
berba28-Nov-11 1:11
berba28-Nov-11 1:11 
AnswerRe: asp.net keypress event Pin
StianSandberg28-Nov-11 2:36
StianSandberg28-Nov-11 2:36 
AnswerRe: asp.net keypress event Pin
ksvinothmca28-Nov-11 2:39
ksvinothmca28-Nov-11 2:39 
AnswerRe: asp.net keypress event Pin
Not Active28-Nov-11 6:29
mentorNot Active28-Nov-11 6:29 
AnswerRe: asp.net keypress event Pin
Morgs Morgan29-Nov-11 0:49
Morgs Morgan29-Nov-11 0:49 
QuestionScrolling to a specific row in a DataGridView in a Web Form (not a Windows Form) using C# Pin
Steve Taylor (Glasgow)27-Nov-11 23:59
Steve Taylor (Glasgow)27-Nov-11 23:59 
AnswerRe: Scrolling to a specific row in a DataGridView in a Web Form (not a Windows Form) using C# Pin
StianSandberg28-Nov-11 2:39
StianSandberg28-Nov-11 2:39 
QuestionSyntax Question [SOLVED] Pin
Richard Andrew x6427-Nov-11 8:27
professionalRichard Andrew x6427-Nov-11 8:27 
AnswerRe: Syntax Question Pin
Richard Andrew x6427-Nov-11 10:07
professionalRichard Andrew x6427-Nov-11 10:07 
General2010 validation control Pin
dcof26-Nov-11 11:47
dcof26-Nov-11 11:47 
GeneralRe: 2010 validation control Pin
Not Active26-Nov-11 12:25
mentorNot Active26-Nov-11 12:25 
GeneralRe: 2010 validation control Pin
dcof27-Nov-11 13:15
dcof27-Nov-11 13:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.