Click here to Skip to main content
15,921,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: toolbar image is not displaying Pin
BalasubramanianK5-Mar-09 2:47
BalasubramanianK5-Mar-09 2:47 
GeneralRe: toolbar image is not displaying Pin
Gaurav K Singh5-Mar-09 2:51
Gaurav K Singh5-Mar-09 2:51 
GeneralRe: toolbar image is not displaying Pin
BalasubramanianK5-Mar-09 3:18
BalasubramanianK5-Mar-09 3:18 
QuestionHow to call Gridview related method by ICallback from client side? Pin
Tridip Bhattacharjee5-Mar-09 2:17
professionalTridip Bhattacharjee5-Mar-09 2:17 
Questionhow to get the page when some one enter url " http://10.10.15.57:1230/CMS/admin/Login.aspx" Pin
keyur satyadev5-Mar-09 1:40
keyur satyadev5-Mar-09 1:40 
AnswerRe: how to get the page when some one enter url " http://10.10.15.57:1230/CMS/admin/Login.aspx" Pin
Gaurav K Singh5-Mar-09 2:17
Gaurav K Singh5-Mar-09 2:17 
AnswerRe: how to get the page when some one enter url " http://10.10.15.57:1230/CMS/admin/Login.aspx" Pin
Rutvik Dave5-Mar-09 6:58
professionalRutvik Dave5-Mar-09 6:58 
QuestionCan anyone? Pin
learningman5-Mar-09 1:35
learningman5-Mar-09 1:35 
I get this error
Server Error in '/WebSite16' 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: BC30288: Local variable 'Classifieds' is already declared in the current block.

Source Error:



Line 8: Dim classifiedsAPI As New Classifieds()
Line 9: Dim classifieds As Classifieds = classifiedsAPI.Classifieds(pictureID)
Line 10: Dim Classifieds As DataSet1.ClassifiedsRow = classifieds(0)
Line 11:
Line 12: ' For new categories, images are JPGs...


Source File: C:\Documents and Settings\Paul Quinn\My Documents\Visual Studio 2005\WebSites\WebSite16\Classifieds.aspx.vb Line: 10



Show Detailed Compiler Output:


C:\Program Files\Microsoft Visual Studio 8\Common7\IDE> "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\WINNT\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Code.kgxnjivk.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINNT\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web_dfz-mkmz.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINNT\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /out:"c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.0.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.1.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.2.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.3.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.4.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.5.vb" "c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website16\680a5c72\fb0e2cd0\App_Web__twpv53o.6.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.1433
for Microsoft (R) .NET Framework version 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.

C:\Documents and Settings\Paul Quinn\My Documents\Visual Studio 2005\WebSites\WebSite16\Classifieds.aspx.vb(10) : error BC30288: Local variable 'Classifieds' is already declared in the current block.

Dim Classifieds As DataSet1.ClassifiedsRow = classifieds(0)
~~~~~~~~~~~






--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

Can anyone help me pleaseSmile | :)
AnswerRe: Can anyone? Pin
J4amieC5-Mar-09 1:46
J4amieC5-Mar-09 1:46 
AnswerRe: Can anyone? Pin
Christian Graus5-Mar-09 8:26
protectorChristian Graus5-Mar-09 8:26 
GeneralRe: Can anyone? Pin
JMummery5-Mar-09 12:22
professionalJMummery5-Mar-09 12:22 
AnswerRe: Can anyone? Pin
JMummery5-Mar-09 10:30
professionalJMummery5-Mar-09 10:30 
GeneralRe: Can anyone? Pin
learningman6-Mar-09 1:21
learningman6-Mar-09 1:21 
Questionarray of hyperlinks--> Pin
bishwambhar_sen5-Mar-09 1:15
bishwambhar_sen5-Mar-09 1:15 
AnswerRe: array of hyperlinks--> Pin
Gaurav K Singh5-Mar-09 1:20
Gaurav K Singh5-Mar-09 1:20 
GeneralRe: array of hyperlinks--> Pin
bishwambhar_sen5-Mar-09 3:18
bishwambhar_sen5-Mar-09 3:18 
QuestionRegaring Importing of Data Pin
balekarsiddharth5-Mar-09 1:01
balekarsiddharth5-Mar-09 1:01 
AnswerRe: Regaring Importing of Data Pin
Gaurav K Singh5-Mar-09 1:15
Gaurav K Singh5-Mar-09 1:15 
AnswerRe: Regaring Importing of Data Pin
Ashfield5-Mar-09 1:23
Ashfield5-Mar-09 1:23 
QuestionWord wrapping for asp.net label control Pin
Suryanairg5-Mar-09 0:56
Suryanairg5-Mar-09 0:56 
AnswerRe: Word wrapping for asp.net label control Pin
AprNgp5-Mar-09 0:59
AprNgp5-Mar-09 0:59 
GeneralRe: Word wrapping for asp.net label control Pin
Suryanairg5-Mar-09 1:14
Suryanairg5-Mar-09 1:14 
GeneralRe: Word wrapping for asp.net label control Pin
AprNgp5-Mar-09 2:44
AprNgp5-Mar-09 2:44 
GeneralRe: Word wrapping for asp.net label control Pin
KermWare2-Dec-13 11:21
KermWare2-Dec-13 11:21 
Questionhow to develop Kiosk applications in Asp.net Pin
surender.m5-Mar-09 0:42
surender.m5-Mar-09 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.