Click here to Skip to main content
16,013,642 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: SQL Server API problem... Pin
Orkun GEDiK6-Jun-02 8:55
Orkun GEDiK6-Jun-02 8:55 
GeneralHiding user controls vs dynamic creation Pin
Senkwe Chanda6-Jun-02 4:04
Senkwe Chanda6-Jun-02 4:04 
GeneralStupid WebForm Designer Behavior Pin
Jamie Nordmeyer5-Jun-02 12:16
Jamie Nordmeyer5-Jun-02 12:16 
GeneralRe: Stupid WebForm Designer Behavior Pin
Senkwe Chanda6-Jun-02 4:10
Senkwe Chanda6-Jun-02 4:10 
GeneralRe: Stupid WebForm Designer Behavior Pin
Jamie Nordmeyer6-Jun-02 5:47
Jamie Nordmeyer6-Jun-02 5:47 
QuestionConvert seconds to hours in aspx bind? Pin
Todd Smith5-Jun-02 7:43
Todd Smith5-Jun-02 7:43 
AnswerRe: Convert seconds to hours in aspx bind? Pin
Not Active7-Jun-02 9:53
mentorNot Active7-Jun-02 9:53 
GeneralRe: Convert seconds to hours in aspx bind? Pin
Todd Smith7-Jun-02 12:30
Todd Smith7-Jun-02 12:30 
That works. thx.

<asp:textbox id="hours" size="3" text='<%# Utils.SecsToHours(DataBinder.Eval(Container.DataItem, "hours").ToString()) %>' runat="server" />

		public static string SecsToHours(string seconds)
		{
			try
			{
				int secs = Int32.Parse(seconds);
				int hours = secs / 3600;
				return hours.ToString();
			}
			catch
			{
				return "";
			}
		}


Todd Smith
GeneralStupid IIS problem Pin
James Spibey4-Jun-02 6:43
James Spibey4-Jun-02 6:43 
GeneralRe: Stupid IIS problem Pin
James Spibey4-Jun-02 23:58
James Spibey4-Jun-02 23:58 
GeneralRe: Stupid IIS problem Pin
Remco V6-Jun-02 6:03
Remco V6-Jun-02 6:03 
GeneralRe: Stupid IIS problem Pin
James Spibey6-Jun-02 9:41
James Spibey6-Jun-02 9:41 
GeneralRe: Stupid IIS problem Pin
Richard Deeming7-Jun-02 0:14
mveRichard Deeming7-Jun-02 0:14 
GeneralHTML Table tabing Pin
Fayez Al-Naddaf4-Jun-02 4:48
Fayez Al-Naddaf4-Jun-02 4:48 
GeneralRe: HTML Table tabing Pin
MS le Roux6-Jun-02 9:26
MS le Roux6-Jun-02 9:26 
GeneralImport Excel-files with ASP Pin
Morten, Norway4-Jun-02 4:03
Morten, Norway4-Jun-02 4:03 
GeneralRe: Import Excel-files with ASP Pin
David Wengier5-Jun-02 11:34
David Wengier5-Jun-02 11:34 
GeneralGetting data from local DB into remote DB using ASP Pin
James Spibey3-Jun-02 5:22
James Spibey3-Jun-02 5:22 
GeneralRe: Getting data from local DB into remote DB using ASP Pin
Not Active3-Jun-02 13:27
mentorNot Active3-Jun-02 13:27 
GeneralRe: Getting data from local DB into remote DB using ASP Pin
James Spibey3-Jun-02 13:58
James Spibey3-Jun-02 13:58 
GeneralRe: Getting data from local DB into remote DB using ASP Pin
Not Active3-Jun-02 16:54
mentorNot Active3-Jun-02 16:54 
GeneralRe: Getting data from local DB into remote DB using ASP Pin
Nick Parker7-Jun-02 5:30
protectorNick Parker7-Jun-02 5:30 
GeneralPage Templates Pin
Chris Maunder3-Jun-02 2:33
cofounderChris Maunder3-Jun-02 2:33 
GeneralRe: Page Templates Pin
Not Active3-Jun-02 13:28
mentorNot Active3-Jun-02 13:28 
GeneralRe: Page Templates Pin
Thomas Freudenberg10-Jun-02 12:12
Thomas Freudenberg10-Jun-02 12:12 

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.