Why not switch on aspx page?

Why not switch on aspx page?
In fact, you can write an SQL statement, as follows:

 * SELECT, BrandSort =
                    Case
                        When the then Sort = 0 'standard plug' 
                        When the then Sort. 1 = 'concentric plug'
                            When the then Sort = 2 'trench plug'
                                When the then Sort. 3 = 'star plug'

                                    when sort = 4 then 'the heart-shaped plug'
                                        When the then Sort. 5 = 'shaped plug'
                                            When the then Sort. 6 = 'line plug Hong'
                                                When the then Sort. 7 = 'polygon plug'

                        else 'ccc'
                    end
                    from  dt

aspx page BrandSort binding on it

Released three original articles · won praise 2 · Views 2829

Guess you like

Origin blog.csdn.net/fangyuan621/article/details/105112480