INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Probem with Web Form

Probem with Web Form

(OP)
Hi

I am very new to this and have been following a training document. I hade my asp net web form working ok and displaying data ok

After a close down and open again I am now getting this problem below when I try and run it, Line 12 is highlighted in red. I cannot find out what is causing this, I have checked all the settings but cant seem to find the problem, could someone advise (in simple terms) how I can fix this please. Thanks


Server Error in '/' Application.

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1061: 'ASP.default_aspx' does not contain a definition for 'GridView1_SelectedIndexChanged' and no extension method 'GridView1_SelectedIndexChanged' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or an assembly reference?)

Source Error:




Line 10: Date:<asp:TextBox ID="textDate" runat="server" Height="29px" Width="259px"></asp:TextBox>
Line 11: <asp:Button ID="Submit" runat="server" Text="Submit" />
Line 12: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
Line 13: DataSourceID="CRMSQL" Width="1234px" AllowPaging="True"
Line 14: AllowSorting="True" BackColor="White" BorderColor="#999999" BorderStyle="None"


Source File: c:\SSIS\web\CRMweb\Default.aspx Line: 12


RE: Probem with Web Form

You probably have a syntax error in your HTML markup.. post all of the markup for us to look at

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close