After running a stored procedure preferably or a vb2005 sub procedure in the code of my asp.net 2.0 project I need to have the day(s) that each class meets concatenated and entered in the Class_Days field.
Thank you so much EugeneZ, this is great! You well deserve your rank!
Here is my test and the results I got:
My test:
select * ,dbo.udf_Class_Day('GMS-623-01') as ALL_Days from MyClass
where Class_ID =N'GMS-623-01'
GMS-623-01 M 01:00PM 05:50PM NULL M,W,F
GMS-623-01 W 03:00PM 04:50PM NULL M,W,F
GMS-623-01 F 01:00PM 02:30PM NULL M,W,F
Thanks so much!!!
0
RosePatAuthor Commented:
EugeneZ, this is the 1st time I post a question. You have no idea how much your answer will help me and my project. Thank you so much EugeneZ. You well deserve your rank!
Here is my test and the results I got:
select * ,dbo.udf_Class_Day('GMS-623-01') as ALL_Days from MyClass
where Class_ID =N'GMS-623-01'
GMS-623-01 M 01:00PM 05:50PM NULL M,W,F
GMS-623-01 W 03:00PM 04:50PM NULL M,W,F
GMS-623-01 F 01:00PM 02:30PM NULL M,W,F
Thanks you so much again!!!
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.
Open in new window