zoukankan      html  css  js  c++  java
  • 选择表达式

    条件表达式
       switch (op.ToLower())
                {
                    case "add":
                        return " + ";
                    case "bitwiseand":
                        return " & ";
                    case "bitwisenot":
                        return " ~ ";
                    case "bitwiseor":
                        return " | ";
                    case "bitwisexor":
                        return " ^ ";
                    case "divide":
                        return " / ";
                    case "equal":
                        return " = ";
                    case "greater":
                        return " > ";
                    case "greaterorequal":
                        return " >= ";
                    case "isnull":
                        return " is null ";
                    case "isnotnull":
                        return " is not null ";
                    case "less":
                        return " < ";
                    case "lessorequal":
                        return " <= ";
                    case "like":
                        return " like ";
                    case "startwith":
                        return " like ";
                    case "endwith":
                        return " like ";
                    case "modulo":
                        return " % ";
                    case "multiply":
                        return " * ";
                    case "notequal":
                        return " <> ";
                    case "subtract":
                        return " - ";
                    case "and":
                        return " and ";
                    case "or":
                        return " or ";
                    case "in":
                        return " in ";
                    case "notin":
                        return " not in ";
                    default:
                        return " = ";

    萌橙 你瞅啥?
  • 相关阅读:
    PHPCMS V9 导航栏当前栏目高亮
    phpcms v9栏目列表调用每一篇文章内容方法
    PHPCMS V9 为今天或几天前文章加new
    vue.js路由参数简单实例讲解------简单易懂
    vue组件知识总结
    vue.js 利用组件之间通讯,写一个弹出框例子
    vue.js组件之间通讯--父组件调用子组件的一些方法,子组件暴露一些方法,让父组件调用
    vue.js组件之间的通讯-----父亲向儿子传递数据,儿子接收父亲的数据
    vue.js通讯----父亲拿儿子的数据
    git常见操作---由简入深
  • 原文地址:https://www.cnblogs.com/daimaxuejia/p/6831299.html
Copyright © 2011-2022 走看看