Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: icons Pin
James Gupta30-Jan-06 13:52
professionalJames Gupta30-Jan-06 13:52 
AnswerRe: icons Pin
AB777130-Jan-06 18:20
AB777130-Jan-06 18:20 
GeneralRe: icons Pin
James Gupta30-Jan-06 21:27
professionalJames Gupta30-Jan-06 21:27 
GeneralRe: icons Pin
AB777130-Jan-06 21:36
AB777130-Jan-06 21:36 
QuestionSystem.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 13:10
devfendar30-Jan-06 13:10 
AnswerRe: System.Diagnostic.Process - execute and monitor return code? Pin
Mark Greenwood30-Jan-06 17:57
Mark Greenwood30-Jan-06 17:57 
GeneralRe: System.Diagnostic.Process - execute and monitor return code? Pin
devfendar30-Jan-06 23:53
devfendar30-Jan-06 23:53 
QuestionHow is this done? Pin
TMF32030-Jan-06 12:28
TMF32030-Jan-06 12:28 
I have a repeater with 2 nested repeaters inside to display multi-tier data.

The first Repeater contains Customer Information.
The Second Repeater contains Call Tracking Information
The Third Repeater contains Comments

The data currently displays like so:
Customer Info: Blah Blah Blah
Call Tracking Information: Blah
Comments about each Call Tracking Issue: Blah...

My query to obtain customer information looks like so:
"SELECT HSCTI.ItemID, HSCTI.Cust_Name, HSCTI.Region, HSCTI.Contact_Date, HSCTI.Reason, HSCTI.Status FROM HSCTI WHERE HSCTI.Status = 'Open'";

My ItemDataBound to my first Nested Repeater looks like:
public void Customers1_ItemDataBound(Object sender, RepeaterItemEventArgs e) <br />
    {<br />
        if ((e.Item.ItemType == ListItemType.Item) || (e.Item.ItemType == ListItemType.AlternatingItem)) <br />
        {<br />
            //This is to look for the Customer2.Repeater that is nested inside the Customer1.Repeater.<br />
            Repeater oRPT = (Repeater)e.Item.FindControl("Customers2");<br />
            DataRowView oDrv = (System.Data.DataRowView)(e.Item.DataItem);<br />
            //This line is to retrieve only the records in the CTPT table that have the same ItemID as the HSCTI record in the current row.<br />
            oRPT.DataSource = oDrv.CreateChildView("<HSCTI>");<br />
            oDrv.DataView.RowFilter = "HSCTI.Status = 'Open'";<br />
            oRPT.DataSource = oDrv;<br />
            oRPT.DataBind();<br />
        }<br />
    }


I keep getting an error indicating:
System.ArgumentException: This constraint cannot be enabled as not all values have corresponding parent values

Can someone tell me how to fix this?

Thank you.

Tim
QuestionconnectionString update not working Pin
Eugenio Lysei Junior30-Jan-06 12:12
Eugenio Lysei Junior30-Jan-06 12:12 
Questionprevent Cut 'n' Paste Pin
Greg_R30-Jan-06 10:57
Greg_R30-Jan-06 10:57 
AnswerRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 11:03
likefood30-Jan-06 11:03 
AnswerRe: prevent Cut 'n' Paste Pin
Office Lineman30-Jan-06 11:45
Office Lineman30-Jan-06 11:45 
GeneralRe: prevent Cut 'n' Paste Pin
likefood30-Jan-06 12:14
likefood30-Jan-06 12:14 
AnswerRe: prevent Cut 'n' Paste Pin
Michael Dunn30-Jan-06 13:12
sitebuilderMichael Dunn30-Jan-06 13:12 
GeneralRe: prevent Cut 'n' Paste Pin
Greg_R30-Jan-06 15:36
Greg_R30-Jan-06 15:36 
GeneralRe: prevent Cut 'n' Paste Pin
leppie30-Jan-06 21:55
leppie30-Jan-06 21:55 
QuestionJavascript variable from WebBrowser control Pin
arro200130-Jan-06 10:29
arro200130-Jan-06 10:29 
AnswerRe: Javascript variable from WebBrowser control Pin
tarasn30-Jan-06 22:35
tarasn30-Jan-06 22:35 
QuestionHashcodes Pin
Beringer30-Jan-06 10:01
Beringer30-Jan-06 10:01 
AnswerRe: Hashcodes Pin
Guffa30-Jan-06 10:17
Guffa30-Jan-06 10:17 
AnswerRe: Hashcodes Pin
Dan Neely30-Jan-06 10:19
Dan Neely30-Jan-06 10:19 
AnswerRe: Hashcodes Pin
Ingo30-Jan-06 22:59
Ingo30-Jan-06 22:59 
AnswerRe: Hashcodes Pin
Le centriste31-Jan-06 1:52
Le centriste31-Jan-06 1:52 
AnswerRe: Hashcodes Pin
Beringer31-Jan-06 12:23
Beringer31-Jan-06 12:23 
QuestionQuestion on running Excel when multiple versions of Excel are installed Pin
Flack30-Jan-06 9:13
Flack30-Jan-06 9:13 

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.