Click here to Skip to main content
15,917,321 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: sql profiler Pin
Abhijit Jana16-Mar-10 23:47
professionalAbhijit Jana16-Mar-10 23:47 
GeneralRe: sql profiler Pin
ishwarya mahadevan16-Mar-10 23:57
ishwarya mahadevan16-Mar-10 23:57 
GeneralRe: sql profiler Pin
Abhijit Jana17-Mar-10 0:08
professionalAbhijit Jana17-Mar-10 0:08 
Questionhiii urgent Pin
ishwarya mahadevan16-Mar-10 22:56
ishwarya mahadevan16-Mar-10 22:56 
AnswerRe: hiii urgent Pin
Brij16-Mar-10 23:32
mentorBrij16-Mar-10 23:32 
GeneralRe: hiii urgent Pin
ishwarya mahadevan16-Mar-10 23:55
ishwarya mahadevan16-Mar-10 23:55 
GeneralRe: hiii urgent Pin
Brij17-Mar-10 0:02
mentorBrij17-Mar-10 0:02 
AnswerRe: hiii urgent Pin
Abhijit Jana17-Mar-10 0:07
professionalAbhijit Jana17-Mar-10 0:07 
GeneralRe: hiii urgent Pin
ishwarya mahadevan17-Mar-10 0:16
ishwarya mahadevan17-Mar-10 0:16 
GeneralRe: Storing Session Information in Table From web service Pin
Abhijit Jana17-Mar-10 0:26
professionalAbhijit Jana17-Mar-10 0:26 
AnswerRe: hiii urgent Pin
saanj18-Mar-10 23:43
saanj18-Mar-10 23:43 
Questionhello Pin
Mr.Sandeep Chaudhary16-Mar-10 22:46
Mr.Sandeep Chaudhary16-Mar-10 22:46 
AnswerRe: hello Pin
Abhijit Jana16-Mar-10 22:53
professionalAbhijit Jana16-Mar-10 22:53 
AnswerRe: hello Pin
Steven J Jowett17-Mar-10 0:32
Steven J Jowett17-Mar-10 0:32 
GeneralRe: hello Pin
Keith Barrow17-Mar-10 6:50
professionalKeith Barrow17-Mar-10 6:50 
Questionreg directive Pin
sowjanya316-Mar-10 22:15
sowjanya316-Mar-10 22:15 
AnswerRe: reg directive Pin
Abhijit Jana16-Mar-10 22:34
professionalAbhijit Jana16-Mar-10 22:34 
GeneralRe: reg directive Pin
sowjanya317-Mar-10 0:50
sowjanya317-Mar-10 0:50 
QuestionDetailsview - Primary Key - Autogenerate Pin
rikhav16-Mar-10 21:30
rikhav16-Mar-10 21:30 
Hi,

I am creating a new setup page where I am trying to have a user add new setup values. These values have a unique identifier id (like HEAD01, HEAD02 and so forth - which happens to be the primary key in that record) which I have to generate using code.

Here I am trying to use a detailsview object with the New/Update/Delete option.

Here if the user Chooses to Add a new value, I need to determine the next unique identifier for this new value to be added (say HEAD16) by looking at the last generated number in that table and have this new value added in the database. The user should not be able to give this primary key value manually it should be autogenerated by code.

Can you help me on how to do this?

I am using SQLDataSource with Detailsview to add update values.

Rikhav
Question.net webservices tracking usps and ups Pin
laziale16-Mar-10 10:50
laziale16-Mar-10 10:50 
AnswerRe: .net webservices tracking usps and ups Pin
T M Gray16-Mar-10 11:13
T M Gray16-Mar-10 11:13 
GeneralRe: .net webservices tracking usps and ups Pin
laziale16-Mar-10 11:16
laziale16-Mar-10 11:16 
QuestionReturn Value from Stored Procedure Pin
ahayw0116-Mar-10 8:06
ahayw0116-Mar-10 8:06 
AnswerRe: Return Value from Stored Procedure Pin
Sandeep Mewara16-Mar-10 9:14
mveSandeep Mewara16-Mar-10 9:14 
GeneralRe: Return Value from Stored Procedure Pin
ahayw0116-Mar-10 9:23
ahayw0116-Mar-10 9:23 

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.