Click here to Skip to main content
15,922,407 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am a newbie to WPF forms.
I would like to know how to Create & Add Class Library to WPF Forms Solution(.NET Framework)

I need access to System.Data namespace

What I have tried:

Added WPF class library but can't access System.Data namespace
Posted
Updated 13-Dec-22 2:26am

Add Project > Filter by "wpf" and then select WPF Class Library....
 
Share this answer
 
v2
There's really nothing special about using the "WPF Class Library" template.

All you have to do is add a Class file, name it what you want, then type "using System.Data;" at the top of the file.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900