Click here to Skip to main content
16,014,591 members
Home / Discussions / ASP.NET
   

ASP.NET

 
SuggestionRe: Extend WebMethod Pin
pramod.hegde27-Aug-12 2:27
professionalpramod.hegde27-Aug-12 2:27 
GeneralRe: Extend WebMethod Pin
Santhosh Natarajan27-Aug-12 3:09
Santhosh Natarajan27-Aug-12 3:09 
QuestionPage_Load(MasterPage) : can't use control-reference here? Pin
StefanUtrecht26-Aug-12 5:42
StefanUtrecht26-Aug-12 5:42 
QuestionRe: Page_Load(MasterPage) : can't use control-reference here? Pin
Eddy Vluggen27-Aug-12 0:29
professionalEddy Vluggen27-Aug-12 0:29 
AnswerRe: Page_Load(MasterPage) : can't use control-reference here? Pin
StefanUtrecht27-Aug-12 21:43
StefanUtrecht27-Aug-12 21:43 
GeneralRe: Page_Load(MasterPage) : can't use control-reference here? Pin
Eddy Vluggen27-Aug-12 22:40
professionalEddy Vluggen27-Aug-12 22:40 
QuestionC# web obtain key value after update table Pin
sc steinhayse24-Aug-12 13:31
sc steinhayse24-Aug-12 13:31 
AnswerRe: C# web obtain key value after update table Pin
Eddy Vluggen27-Aug-12 0:28
professionalEddy Vluggen27-Aug-12 0:28 
sc steinhayse wrote:
I do not believe the key to the table is actually updated in the database until the submitchanges() call is made.

Believing is a lousy way of programming. The record is not created until it is actually saved (when the transaction is committed) and that's the point where an identity is generated.

This[^] looked like the correct way, but I can't verify that it works.

sc steinhayse wrote:
Thus my question is how can I obtain the key to the Trans table for the row that was just inserted into the table and have it appear on the customer_report?

Keys are never shown on a report. They do not contain any information. The correct way would be to use your "almost-key" as a unique field, and to use a real primary key that does not contain information to do the actual referencing.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

Questionnet_io_connectionclosed error in asp.net Pin
ashwani Kumar Una23-Aug-12 21:22
ashwani Kumar Una23-Aug-12 21:22 
AnswerRe: net_io_connectionclosed error in asp.net Pin
David Mujica24-Aug-12 2:15
David Mujica24-Aug-12 2:15 
AnswerRe: net_io_connectionclosed error in asp.net Pin
Sandip.Nascar24-Aug-12 8:25
Sandip.Nascar24-Aug-12 8:25 
Questionwhy is net_io_connectionclosed error in asp.net Pin
ashwani Kumar Una23-Aug-12 21:22
ashwani Kumar Una23-Aug-12 21:22 
QuestionCreate DataBase Pin
ANJYR23-Aug-12 8:30
ANJYR23-Aug-12 8:30 
AnswerRe: Create DataBase Pin
Wes Aday23-Aug-12 8:54
professionalWes Aday23-Aug-12 8:54 
AnswerRe: Create DataBase Pin
Sandip.Nascar23-Aug-12 10:36
Sandip.Nascar23-Aug-12 10:36 
QuestionApplication variable with sync Pin
anishkannan23-Aug-12 3:20
anishkannan23-Aug-12 3:20 
AnswerMS-SQL can provide custom lock management facility Pin
David Mujica23-Aug-12 3:56
David Mujica23-Aug-12 3:56 
QuestionApprove button in E-mail Pin
Ramkumar_S22-Aug-12 16:04
Ramkumar_S22-Aug-12 16:04 
AnswerRe: Approve button in E-mail Pin
Paul Conrad22-Aug-12 16:12
professionalPaul Conrad22-Aug-12 16:12 
AnswerRe: Approve button in E-mail Pin
Ain Ronquillo22-Aug-12 20:10
Ain Ronquillo22-Aug-12 20:10 
QuestionEncrypting Database Credentials Pin
indian14322-Aug-12 15:20
indian14322-Aug-12 15:20 
AnswerRe: Encrypting Database Credentials Pin
Paul Conrad22-Aug-12 16:08
professionalPaul Conrad22-Aug-12 16:08 
AnswerRe: Encrypting Database Credentials Pin
Niladri_Biswas22-Aug-12 18:48
Niladri_Biswas22-Aug-12 18:48 
QuestionAsp.Net - Oracle Connection failed Pin
lalithafranklyn22-Aug-12 9:46
lalithafranklyn22-Aug-12 9:46 
AnswerRe: Asp.Net - Oracle Connection failed Pin
Niladri_Biswas22-Aug-12 18:29
Niladri_Biswas22-Aug-12 18:29 

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.