Wierd the photo links say 'Stairway to Heaven' http://www.imdb.com/media/rm2366676736/tt0038733[^]
Shahil Shah
Posts
-
Wallace and Grommit return! -
Wallace and Grommit return!I guess the writers are fans of Maiden... good pun!
-
Every winter!how about motor racing in snow ;P http://www.rallynorway.com/en/[^]
-
What an incredible result at the weekend - but was there a conspiracy? [modified]What a race - the end was incredible! Anyone a WRC fan? Loeb is just too good.
-
@-quoted string in C#Sorry I think you misunderstood me... for e.g. error message "Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" renders as: alert('Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index'); It should render as: alert('Index was out of range. Must be non-negative and less than the size of the collection.\nParameter name: index'); so as not to throw a javascript error. I suppose I could use
this.ClientScript.RegisterStartupScript(this.GetType(), "Message", "alert('" + ex.Message.Replace("'", "").Replace("\r", "").Replace("\n", @"\n") + "');");
Just thought there might be an easier solution... Thanks -
@-quoted string in C#Hello I am using
this.ClientScript.RegisterStartupScript(this.GetType(), "Message", "alert('" + ex.Message.Replace("'", "") + "');");
to show errors on an aspx webpage which are caught using a try catch block. When the error message contains "\r\n" it throws an Unterminated String Constant error in javascript. I can resolve this quite easily usingthis.ClientScript.RegisterStartupScript(this.GetType(), "Message", "alert('" + ex.Message.Replace("'", "").Replace("\r\n", @"\n") + "');");
Does anyone know a more elegant solution to this though, as i presume "\n" etc. also might cause the same problem? Thanks -
Is Quality of indian software development is reducing day by day?anish_bhagwat80 wrote:
In My case(Many Indians) English is not mother tongue
FOR my case, and many Indians, English is not MY mother tongue
anish_bhagwat80 wrote:
We learn English only for communicate with out side India
We LEARNT English only TO communicate with PEOPLE OUTSIDE India FYI correct grammer...
-
Physics Lessonhttp://en.wikipedia.org/wiki/Double-slit\_experiment[^](http://en.wikipedia.org/wiki/Double-slit_experiment "New Window")
modified on Monday, September 22, 2008 6:50 AM
-
Interview [modified]Hello fellow CPians I have been asked to come up with some interview questions on VB.NET for automated testing :doh: . I was thinking of asking general ADO & .NET questions. Any other suggestions? Thanks Shahil
modified on Friday, September 12, 2008 7:12 AM
-
Albums you listen to all the way through??David Knechtges wrote:
Iron Maiden - A Matter of Life and Death
Personally I think Brave New World is better... also Rock in Rio but that's a live concert not an album
-
Convert SQL datetime to just dateHi kozu try this: create table #tmp ( OrderDate datetime, qty int ) insert into #tmp(orderdate, qty) select OrderDate, sum(qty) from orders where OrderDate between '05/29/80' and '06/10/05' group by OrderDate order by OrderDate select CAST(OrderDate as varchar(11)) as OrderDate, Qty from #tmp DROP TABLE #tmp Shahil
-
Convert SQL datetime to just dateHi If you are viewing the data in a datagrid you can use the following data formating expression: {0:dd/MM/yyyy} without the need to use the convert staement you are using otherwise try this: SET DATEFORMAT mdy select CAST(OrderDate as varchar(11)) as OrderDate, SUM(Qty) where OrderDate between '05/29/05' and '06/10/05' group by OrderDate order by OrderDate Shahil
-
Thanks GuysHappy birthday Chris!
-
Cost of living in UKI dont think anyone's really answered your question so here goes: (answer based if your gonna be in london or south east where most software jobs are) Approx £1000 for rent per month (for 1 bedroom flat excluding gas/electricity/water/council bills) Approx £150 for travel per month (using public transport only) Approx £20 for food shopping per week Approx £3 for a pint of beer at a decent bar Approx £15 for entry to a decent nightclub of course this is an approximation but as u can see the most you will spend is on rent/travel Hope this helps Shahil