?
Solved

Asp.net Identifier expected error.

Posted on 2014-02-22
2
Medium Priority
?
773 Views
Last Modified: 2014-03-06
I am getting an unexpected error in my code. Here is the code.



        <asp:DropDownList ID="ddlReportType" runat="server" OnSelectedIndexChanged="BindGrid";"
                AutoPostBack="True">
        </asp:DropDownList><br /><br />


BindGrid is defined as
 Private Sub BindGrid()
0
Comment
Question by:Idarac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Accepted Solution

by:
Gary Davis earned 2000 total points
ID: 39879573
The function may need to be declared as Public.
0
 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 39881686
hi...
Please write your code like this, if you don't need to pass any parameter with this function.

<asp:DropDownList ID="ddlReportType" runat="server" OnSelectedIndexChanged="BindGrid();"
                AutoPostBack="True">
        </asp:DropDownList><br /><br />

Please try it... and let me know for further help...
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question