在列表中查找查找列 [英] find lookup column in a list

查看:143
本文介绍了在列表中查找查找列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多列表,在列表中我会找到哪一列是查阅列。请帮助我。

I am haivng many list and in a list i would to find which column is a lookup column. Kindly help me.

推荐答案

也许它会起作用: -

Maybe it gonna work :-
string Location = "";

if (item["Location0"] != null)
{
    FieldLookupValue fl = (FieldLookupValue)item["Location0"];
    Location = fl.LookupValue;
}


这篇关于在列表中查找查找列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆