473,378 Members | 1,066 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Compilation Error BC30456: 'dbgridpres' is not a member of 'ASP.admin_golfCourses_asp

14
can someone help me on this: This code worked on my other page but this one doesn't work on admin_golfCourse.aspx page.
here's the code:

<asp:DataGrid id="dbgridpres" runat="server" AllowPaging="False" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" >
<AlternatingItemStyle CssClass="altTable1"></AlternatingItemStyle>
<Columns>
<asp:TemplateColumn>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
<ItemTemplate>
<table>
<tr>
<td>
<asp:Image runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "PicUrl") %>' ID="Image1"></asp:Image>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>

on the Codebehind:
i put this funcion on the page_load:
getboards()

here's the code for the getboards:
Dim bcomm as OleDbDataAdapter
Dim datatable As System.Data.DataTable = Nothing
Function getboards()
Function getboards()
dbconnect()
bcomm = new OleDbDataAdapter("SELECT * from GolfCourse WHERE Course_ID=" & request.QueryString("ID"), dbConn)
datatable = new System.Data.DataTable
bcomm.Fill(datatable)
me.dbgridpres.DataSource = datatable
me.dbgridpres.DataBind()
End Function

what's wrong with that code? Why does it produced that error?
Jan 12 '07 #1
0 1679

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Zenobia | last post by:
How do I bind an array, arrayList or even a stack to a repeater containing hyperlinks. The data structure (array, arrayList or even a stack) has dates in ISO format "YYYY-MM-DD". The repeated...
0
by: fabrice | last post by:
Hello, I m using vb.net and framework 1.1 whithout VisualStudio. I'm trying to compile a personnal tool class in one assembly using VBC.exe . But i get an error in compilation and i don't know...
0
by: cm76 | last post by:
hello. I am using vs2005 professional edition. When I deploy my application to windows 2003 standard edition sever, I occasionally get the following error. Exception type:...
0
by: hypnotik | last post by:
Hello, I published my web project to our production server, and I'm seeing these errors sporadically: Compilation Error Description: An error occurred during the compilation of a resource...
3
by: Don | last post by:
I have an ASP.NET 2.0 application (in VB) based on the Personal Site Starter kit that runs perfectly (no erros, no warnings, no exceptions) when run from Visual Studio 2005 Team Suite using the...
0
by: mchuc7719 | last post by:
Hello, I have a Vb.Net 2005 ClassLibrary, when I try to compile using MSBee, only get errors. Before I to run the command line, I open in notepad the .vbproj and I was add the next line: ...
7
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. I'm...
5
by: dancer | last post by:
Using Asp.net 1.1 Can somebody tell me why the code following gives this error message: Compilation Error Description: An error occurred during the compilation of a resource required to service...
0
by: Jan | last post by:
Hi, when running demo.aspx, i get this error message: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.