Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Sql Time Out Problem Pin
vishnukamath29-Nov-10 23:52
vishnukamath29-Nov-10 23:52 
GeneralRe: Sql Time Out Problem Pin
Goutam Patra30-Nov-10 0:03
professionalGoutam Patra30-Nov-10 0:03 
AnswerRe: Sql Time Out Problem Pin
fjdiewornncalwe30-Nov-10 2:11
professionalfjdiewornncalwe30-Nov-10 2:11 
GeneralRe: Sql Time Out Problem Pin
David Mujica30-Nov-10 3:39
David Mujica30-Nov-10 3:39 
AnswerOT Pin
J4amieC30-Nov-10 5:00
J4amieC30-Nov-10 5:00 
AnswerRe: Sql Time Out Problem Pin
Hiren solanki1-Dec-10 22:14
Hiren solanki1-Dec-10 22:14 
QuestionSqlDataSource - Modify table without primary key Pin
Hanzaplast29-Nov-10 3:41
Hanzaplast29-Nov-10 3:41 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Not Active29-Nov-10 5:06
mentorNot Active29-Nov-10 5:06 
This is an example of a Join Table and you should define a primary key on it. In this case it will be a composite key consisting of DoctorID and PatientID. Without this you have the potential for multiple entries with the same doctor and patient.

Your update statement makes no sense either. Inserting actual values you can see that nothing will be updated.

UPDATE DoctorPatient 
SET DoctorID = 1
    PatientID = 3
WHERE DoctorID = 1 AND PatientID = 3


I know the language. I've read a book. - _Madmatt

AnswerRe: SqlDataSource - Modify table without primary key Pin
musefan29-Nov-10 5:47
musefan29-Nov-10 5:47 
GeneralRe: SqlDataSource - Modify table without primary key Pin
Keith Barrow29-Nov-10 7:39
professionalKeith Barrow29-Nov-10 7:39 
GeneralRe: SqlDataSource - Modify table without primary key Pin
musefan29-Nov-10 8:32
musefan29-Nov-10 8:32 
AnswerRe: SqlDataSource - Modify table without primary key Pin
T M Gray29-Nov-10 11:41
T M Gray29-Nov-10 11:41 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Amar Chaudhary29-Nov-10 15:59
Amar Chaudhary29-Nov-10 15:59 
AnswerRe: SqlDataSource - Modify table without primary key Pin
Hanzaplast30-Nov-10 4:23
Hanzaplast30-Nov-10 4:23 
QuestionGridView OnClick and OndblCick Attributes in RowDataBound Pin
vishnukamath29-Nov-10 3:00
vishnukamath29-Nov-10 3:00 
AnswerRe: GridView OnClick and OndblCick Attributes in RowDataBound Pin
Hanzaplast29-Nov-10 4:26
Hanzaplast29-Nov-10 4:26 
QuestionHow to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry28-Nov-10 22:59
Shankaranarayana Thanthry28-Nov-10 22:59 
AnswerRe: How to remove the space which is causing because of ajax tab container? Pin
Amar Chaudhary29-Nov-10 3:09
Amar Chaudhary29-Nov-10 3:09 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry29-Nov-10 17:43
Shankaranarayana Thanthry29-Nov-10 17:43 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Shankaranarayana Thanthry29-Nov-10 22:53
Shankaranarayana Thanthry29-Nov-10 22:53 
GeneralRe: How to remove the space which is causing because of ajax tab container? Pin
Amar Chaudhary30-Nov-10 14:50
Amar Chaudhary30-Nov-10 14:50 
QuestionList<> Shows Different Values entered in the textbox Pin
Vimalsoft(Pty) Ltd28-Nov-10 22:09
professionalVimalsoft(Pty) Ltd28-Nov-10 22:09 
AnswerRe: List Shows Different Values entered in the textbox Pin
Keith Barrow28-Nov-10 22:56
professionalKeith Barrow28-Nov-10 22:56 
GeneralRe: List Shows Different Values entered in the textbox Pin
Vimalsoft(Pty) Ltd28-Nov-10 23:37
professionalVimalsoft(Pty) Ltd28-Nov-10 23:37 
GeneralRe: List Shows Different Values entered in the textbox Pin
Keith Barrow29-Nov-10 1:06
professionalKeith Barrow29-Nov-10 1:06 

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.