Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Shahil Shah

@Shahil Shah
About
Posts
14
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Wallace and Grommit return!
    S Shahil Shah

    Wierd the photo links say 'Stairway to Heaven' http://www.imdb.com/media/rm2366676736/tt0038733[^]

    The Lounge com

  • Wallace and Grommit return!
    S Shahil Shah

    I guess the writers are fans of Maiden... good pun!

    The Lounge com

  • Every winter!
    S Shahil Shah

    how about motor racing in snow ;P http://www.rallynorway.com/en/[^]

    The Lounge

  • What an incredible result at the weekend - but was there a conspiracy? [modified]
    S Shahil Shah

    What a race - the end was incredible! Anyone a WRC fan? Loeb is just too good.

    The Lounge visual-studio question

  • @-quoted string in C#
    S Shahil Shah

    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

    ASP.NET help csharp javascript question

  • @-quoted string in C#
    S Shahil Shah

    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 using this.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

    ASP.NET help csharp javascript question

  • Is Quality of indian software development is reducing day by day?
    S Shahil Shah

    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...

    The Lounge question discussion

  • Physics Lesson
    S Shahil Shah

    http://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

    The Lounge game-dev question

  • Interview [modified]
    S Shahil Shah

    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

    The Lounge csharp ai-testing testing beta-testing

  • Albums you listen to all the way through??
    S Shahil Shah

    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

    The Lounge question

  • Convert SQL datetime to just date
    S Shahil Shah

    Hi 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

    Database database question

  • Convert SQL datetime to just date
    S Shahil Shah

    Hi 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

    Database database question

  • Thanks Guys
    S Shahil Shah

    Happy birthday Chris!

    The Lounge c++ com security architecture career

  • Cost of living in UK
    S Shahil Shah

    I 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

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups