Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET Tips #3
WhatsApp
Dhanik Sahni
11y
3.7
k
0
0
25
Blog
We can put frequently used code snippet in Toolbox and use whenever required example SQL connection string.
Steps to add code snippet in toolbox are
1.
Write down code which need to put in Toolbox.
this.ConnectionString = "Data Source=xxxx;Initial Catalog=xxxx;User ID=xxxx;Password=xxxx";
2.
Go to View -> Toolbox
3.
Drag code to toolbox. See rectangle in above screen shot.
4.
You can give name to code also. like Items in above screen shot.
Up Next
C# Tips
Ebook Download
View all
Beginning C# Object Oriented Programming
Read by 35.6k people
Download Now!
Learn
View all
Membership not found