Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Option Strict On disallows late binding

Reply
Thread Tools

Option Strict On disallows late binding

 
 
Seema
Guest
Posts: n/a
 
      01-24-2012
I am trying to convert a web application from 1.1 to 2.0 or above.
when I compile my solution it gives me error in the following piece of
code that

Option Strict On disallows late binding. The line of code is

Dim sqlConn As New
SqlConnection(ConfigurationSettings.GetConfig("Int ranetSettings")
("ConnectionAsset"))

I really appreciater your help in advance.
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      01-25-2012
On 1/24/2012 1:00 PM, Seema wrote:
> I am trying to convert a web application from 1.1 to 2.0 or above.
> when I compile my solution it gives me error in the following piece of
> code that
>
> Option Strict On disallows late binding. The line of code is
>
> Dim sqlConn As New
> SqlConnection(ConfigurationSettings.GetConfig("Int ranetSettings")
> ("ConnectionAsset"))


Are you missing an Import?

Arne

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Option strict disallows late binding Adotek ASP .Net 1 10-03-2006 05:50 PM
Datagrid: Option Strict On disallows late binding -- HELP Owen Mortensen ASP .Net 7 03-13-2006 05:20 PM
Option Strict On disallows late binding Chris Davey via .NET 247 ASP .Net Datagrid Control 1 04-06-2005 05:29 PM
Option Strict On disallows late binding. Ryan McLean ASP .Net 3 06-14-2004 05:49 PM
option strict disallows late binding reading from web.config Karl Lang ASP .Net 1 06-01-2004 10:56 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57