zoukankan      html  css  js  c++  java
  • 设置列表字段为主键

    转贴:Sample event handler to set a field as a pr imary key (enforce no duplicates)

    Got this as a request from a reader- how to prevent users from adding items with same titles as ones that already exist in the list.

    Code

    上面的代码中,已经写了使用方法,就是用SPWeb web = properties.OpenWeb()
  • 相关阅读:
    超强、超详细Redis入门教程
    zsh: command not found: pip 解决方法
    Python 进阶必备函数
    【debian】解决debian中文安装后出现乱码的问题
    【随笔】关于服务器
    【随笔】Linux主机简单判断CC攻击的命令
    【Docker】通过cookie欺骗在ubuntu中使用wget下载jdk
    【linux】在ubuntu中使用apt-get安装oracle jdk6
    【Nginx】关于域名转发proxy_pass
    【Docker】制作一个支持SSH终端登录的镜像
  • 原文地址:https://www.cnblogs.com/LifelongLearning/p/1118504.html
Copyright © 2011-2022 走看看