Click here to Skip to main content
15,897,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Sql Time Out Problem Pin
Goutam Patra29-Nov-10 23:30
professionalGoutam Patra29-Nov-10 23:30 
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 
hi guys,

i have simple table without primary key that stores two foregin keys. table contains data about which doctor has which patient.


DoctorIDPatientID
11
13
14
21
215


what i am trying to accomplish is this:
<asp:SqlDataSource ID="sds" runat="server"            
        ConnectionString="<%$ ConnectionStrings:TestConnectionString %>"             
        SelectCommand="select * from DoctorPatient" 
        UpdateCommand="update DoctorPatient set DoctorID=@DoctorID,PatientID=@PatientID where DoctorID=@DoctorID and PatientID=@PatientID">
</asp:SqlDataSource>

<asp:DetailsView runat="server" ID="dv"            
        DataSourceID="sds" AllowPaging="true"
        AutoGenerateEditButton="true">
</asp:DetailsView>

but editing items wont work... can i set SqlDataSource - DetailsView to modify this table without adding primary ID column?
AnswerRe: SqlDataSource - Modify table without primary key Pin
Not Active29-Nov-10 5:06
mentorNot Active29-Nov-10 5:06 
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 

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.