This is a migrated thread and some comments may be shown as answers.

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

1 Answer 55 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phil C
Top achievements
Rank 2
Phil C asked on 19 Apr 2009, 05:00 PM
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.

1 Answer, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 20 Apr 2009, 04:22 PM
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
Tags
Code Converter
Asked by
Phil C
Top achievements
Rank 2
Answers by
Todd Anglin
Top achievements
Rank 2
Share this question
or