Hi,
I am not able to import namespaces like.. using System.Data.SqlClient; and other namespaces... Can someone plzz help.. Whats wrong ? i am using VS 2005.
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ankit NandekarRank #703 · 3.4K reputationPosted May 23, 2011, 11:16 PM EDT
Posted May 23, 2011, 11:33 PM EDT
Open VS 2005-->Create New Project->Windows /Web/Console Application--> Right the Project in Solution Explorer-->Add References--> Click the .net Tab--> Select the references here. This should work.
If you unable to fnd the System.Data in c:\windows\Assembly folder, please re-install the .net framework[version 2.0 or based on your project].
Hope this helps you.
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 24, 2011, 5:53 AM EDT
Vilas GiteRank #951 · 2.1K reputationPosted May 24, 2011, 6:30 AM EDT
Posted May 24, 2011, 6:35 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted May 25, 2011, 12:16 AM EDT
Do you understand about making references? For example you must have a reference to System.Data because without it you can't use a using statement for System.Data.SqlClient.
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted May 25, 2011, 1:22 AM EDT
Check the GAC folder(windows\assembly) for System.Data.dll file. If you cant see that dll install the Framework 2.0 once again. It will fix the problem..
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted May 25, 2011, 1:40 AM EDT
huge reply but the questioner is not replying anything....that prob is fixed or not?
it shows how active our authors are. good
Sam HobbsRank #107 · 20.5K reputationPosted May 25, 2011, 12:53 PM EDT
Mahesh ChandRank #1 · 393.3K reputationPosted May 25, 2011, 3:16 PM EDT