Click here to Skip to main content
15,926,035 members
Home / Discussions / C#
   

C#

 
GeneralDetermining key presses in other applications Pin
Meysam Mahfouzi19-Dec-03 18:37
Meysam Mahfouzi19-Dec-03 18:37 
QuestionIntegrate Python as a scripting language? Pin
sumo_guy19-Dec-03 17:03
sumo_guy19-Dec-03 17:03 
AnswerRe: Integrate Python as a scripting language? Pin
leppie19-Dec-03 21:34
leppie19-Dec-03 21:34 
GeneralRe: Integrate Python as a scripting language? Pin
sumo_guy20-Dec-03 7:13
sumo_guy20-Dec-03 7:13 
GeneralMDI in C# Pin
ASGill19-Dec-03 16:24
ASGill19-Dec-03 16:24 
GeneralRe: MDI in C# Pin
Heath Stewart20-Dec-03 20:21
protectorHeath Stewart20-Dec-03 20:21 
GeneralPowerpoint problem with axwebbrowser Pin
DeusingMono19-Dec-03 14:54
DeusingMono19-Dec-03 14:54 
GeneralWeb Calendar Control Pin
Big Orange19-Dec-03 12:03
Big Orange19-Dec-03 12:03 
My web calendar control is correctly populating each calendar cell with the course and time as programmed. Problem: it's creating twins! Each listing is created twice. Stepping through the code revealed that each calendar day is being rendered twice. What do I need to do to nonduplicated entries?

Code Follows:

protected void C1DayRender(object sender, DayRenderEventArgs e)
{
if(courseTable.Rows.Count>0)
{
CalendarDay d = ((DayRenderEventArgs)e).Day;
TableCell c = ((DayRenderEventArgs)e).Cell;
DateTime tempDate;
foreach(DataRow dr in courseTable.Rows)
{
tempDate = (DateTime)dr["sDate"];


if(tempDate.ToShortDateString() == d.Date.ToShortDateString())
{
string s1 = "
" + dr["CourseName"] + "   " + tempDate.ToShortTimeString();

c.Controls.Add(new LiteralControl(hypRegister.Text = s1));
}

}
}

}
I'm on a crunch deadline, and I think I am just missing a piece of code here to get this function to move to the next date after grabbing any matches in the container.

Thanks, Sally Lay

Sally Lay
GeneralRe: Web Calendar Control Pin
Big Orange24-Dec-03 5:45
Big Orange24-Dec-03 5:45 
GeneralEfficient String Concatenation Pin
Larry Antram19-Dec-03 11:46
Larry Antram19-Dec-03 11:46 
GeneralRe: Efficient String Concatenation Pin
Heath Stewart19-Dec-03 11:58
protectorHeath Stewart19-Dec-03 11:58 
GeneralC# string to CString marshaling Pin
jerrycainjr19-Dec-03 9:15
jerrycainjr19-Dec-03 9:15 
GeneralRe: C# string to CString marshaling Pin
Heath Stewart19-Dec-03 9:47
protectorHeath Stewart19-Dec-03 9:47 
QuestionAdding a button to IE's main toolbar? Pin
Andreas Philipson19-Dec-03 8:43
Andreas Philipson19-Dec-03 8:43 
AnswerRe: Adding a button to IE's main toolbar? Pin
Heath Stewart19-Dec-03 9:26
protectorHeath Stewart19-Dec-03 9:26 
GeneralInserting the same textbox in multiple controls Pin
spindar19-Dec-03 7:44
spindar19-Dec-03 7:44 
GeneralRe: Inserting the same textbox in multiple controls Pin
Not Active19-Dec-03 8:01
mentorNot Active19-Dec-03 8:01 
GeneralRe: Inserting the same textbox in multiple controls Pin
Heath Stewart19-Dec-03 8:27
protectorHeath Stewart19-Dec-03 8:27 
GeneralDataGrid, don't want the last row (new record), how to remove Pin
Member 61691919-Dec-03 7:29
Member 61691919-Dec-03 7:29 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
sthect19-Dec-03 8:00
sthect19-Dec-03 8:00 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
Member 61691919-Dec-03 9:17
Member 61691919-Dec-03 9:17 
GeneralRe: DataGrid, don't want the last row (new record), how to remove Pin
dubor9-Jan-04 6:34
dubor9-Jan-04 6:34 
GeneralParsing an LDIF file without using ldifde or Active Directory Pin
sonicflame19-Dec-03 6:10
sonicflame19-Dec-03 6:10 
GeneralEntity point-to-point communication...suggestions Pin
LongRange.Shooter19-Dec-03 5:11
LongRange.Shooter19-Dec-03 5:11 
GeneralRe: Entity point-to-point communication...suggestions Pin
Heath Stewart19-Dec-03 6:13
protectorHeath Stewart19-Dec-03 6: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.