Is there a good reference SharePoint's databinding syntax?

亡梦爱人 提交于 2019-12-04 05:42:35

The ddwrt:DataBind method is a wrapper for DataFormWebPart.AddDataBinding

The mysterious first parameter refers to the "operation". It will either be "i" (insert), "u" (update), or "d" (delete). Sadly, these are literal values because the XSLT doesn't have access to enumerations, etc.

The other curious fields are the propertyName and eventName, which are members of the control you're binding. The event is wired up using reflection to the sharepoint form, and the property is used to retrieve the value.

The remaining fields refer to the primary key and value to bind.

Full details on the method signature and how to use it can be found here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!