Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

I am using C#, but my file keeps being saved as VB

New Here ,
Apr 05, 2007 Apr 05, 2007

Copy link to clipboard

Copied

I am using C# and Dreamweaver to work on my project. But one file keeps getting be saved as VB file. If I manually change to C#, I get compilation error right away. If I change back to VB, it is working. But I cannot used VB as all other files in the project are careated with C#. Please help!!!!! Thank you so much.
compilation error --
CS1525: Invalid expression term '>'
<Parameters>
<Parameter Name="@ContentID" Value='<%# IIf((Request.QueryString("ContentID") <> Nothing), Request.QueryString("ContentID"), "") %>' Type="Integer" />
</Parameters>

The dataset and the parameters are created with Dreamweaver. How could those be invalid?
Thanks a lot for your help.


TOPICS
Server side applications

Views

177
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 05, 2007 Apr 05, 2007

Copy link to clipboard

Copied

LATEST
Did you start by creating a new ASP VBScript file? Make sure you start by creating a new ASP.NET C# file. Then when you save the file it should be correct.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines