All Request.Form("Blah") is not converted to request.form["Blah"]

2 posts, 0 answers
  1. Phil C
    Phil C avatar
    30 posts
    Member since:
    Sep 2012

    Posted 19 Apr 2009 Link to this post

    Hi, with VB to C# (ASP.NET), all Request.Form("Blah") is not converted to request.form["Blah"]. Have tried lowering the case to request.form.

    I expect there will be other similar cases but this seems incredibly basic and will lead to hours of fiddling as the last bracket cannot be mass searched-and-replaced.

    Am I missing something obvious?

    Cheers, Phil.
  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 20 Apr 2009 Link to this post

    Hello Phil-

    This is indeed a problem with the converter's engine- NRefactory. In fact, if you try the conversion in the simple code coverter hosted by the ShareDevelop project (the people that enhance NRefactory), you'll see the brackets problem exists there, too:


    I'd suggest that you share your feedback with the SharpDevelop/NRefactory community and see if there are any plans to improve the engine. As soon as the engine supports this conversion, we'll be sure to add the support to the Telerik Converter.

    Hope that helps!
    -Todd
Back to Top