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()
  • 相关阅读:
    1121 Damn Single
    1122 Hamiltonian Cycle
    1123 Is It a Complete AVL Tree
    1420. Build Array Where You Can Find The Maximum Exactly K Comparisons
    1124 Raffle for Weibo Followers
    1125 Chain the Ropes
    测试面试题集-2.测试用例设计
    开奖|1024中奖名单公布以及Postman资料分享
    祝心想事成无Bug,1024快乐!
    1024福利|硬核无Bug,码上有红包!
  • 原文地址:https://www.cnblogs.com/LifelongLearning/p/1118504.html
Copyright © 2011-2022 走看看