开发者

System.Data.Sqlconnection

in my application when i type sqlconnection it is not showing any intellisence, i added the namespace System.Data.Sqlclient not only sqlconnection even i am not getting Page calss can u help me. actually i am sharing this application from my company server.

in our company previously there was .net 2.0 frame work when this project was developed(one year back). yesterday our company installed 3.0 .net frame work is this any problem for previous project which are developed in 2.0 how can i go 开发者_运维知识库through this problem


You should check if your intellisense works at all first. You can try :-

1) Start your visual studio using the following :-

devenv.exe /resetskippkgs

2) Go to Tools > Option > Text Editor > All Languages . Make sure all the checkbox related to "Statement Completion" are "checked" (not just filled).

3) Close Visual Studio, delete the .suo (user option file) which is located at teh same directory as your solution file. Note that that file might be hidden. Open Visual Studio again and check for intellisense.

EDIT :- To see the hidden .suo file (or any other hidden files), follow below steps:-

1.Open My Computer.

2.From the Tools menu, choose Folder Options....

3.Click on the View tab in the Folder Options window.

4.In the Advanced settings: text area, locate the Hidden files and folders category.

Note: The Hidden files and folders category should be viewable at the bottom of the Advanced settings: text area without scrolling down. You'll see two options under the folder.

5.Choose the Show hidden files and folders radio button under the Hidden files and folders category.

6.Click OK at the bottom of the Folder Options window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜