Click here to Skip to main content
15,893,381 members
Articles / Programming Languages / T-SQL

How to remove white space in VB.NET

Rate me:
Please Sign up or sign in to vote.
2.33/5 (3 votes)
29 Jan 2013CPOL 19.5K  
In the following code all the subject codes are read by SQLDataReader rd. How do I make the DataReader read the subject code of only the selected subject regardless of whether the subject name contain white space or not such as Biology, English Language, Principles of Cost Accounting, etc? ...

Views

Daily Counts

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions