Click here to Skip to main content
15,928,983 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Events Problem Pin
leppie19-Dec-03 21:24
leppie19-Dec-03 21:24 
GeneralRe: C# Events Problem Pin
debashish_shona_9919-Dec-03 21:37
debashish_shona_9919-Dec-03 21:37 
GeneralRe: C# Events Problem Pin
Charlie Williams19-Dec-03 21:25
Charlie Williams19-Dec-03 21:25 
GeneralRe: C# Events Problem Pin
leppie19-Dec-03 21:30
leppie19-Dec-03 21:30 
GeneralRe: C# Events Problem Pin
debashish_shona_9919-Dec-03 21:53
debashish_shona_9919-Dec-03 21:53 
GeneralRe: C# Events Problem Pin
leppie19-Dec-03 23:13
leppie19-Dec-03 23:13 
GeneralRe: C# Events Problem Pin
Charlie Williams20-Dec-03 7:27
Charlie Williams20-Dec-03 7:27 
GeneralRe: C# Events Problem Pin
debashish_shona_9919-Dec-03 21:58
debashish_shona_9919-Dec-03 21:58 
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 

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.