索引服务:获取自定义属性的空列
我正在遵循这个例子: http://www.codinghorror.com/ blog/2005/12/getting-started-with-indexing-service.html
但是,到数据集的转换显示我的自定义属性为空列。如果我对列使用路径或文件名,我会返回数据。我已设置要缓存的属性,已尝试这两个级别,并已重新完整扫描。
我已经在我的桌面(windows vista 32 位)和 Windows 2008 R2 服务器上尝试过这个示例,得到了相同的结果。
I'm following this example:
http://www.codinghorror.com/blog/2005/12/getting-started-with-indexing-service.html
However, the conversion to dataset shows empty columns for my custom properties. If I use path or filename for the columns I get data back. I have set the properties to be cached, have tried both levels, and have rescanned full.
I've tried this example on my desktop (windows vista 32bit) and on a Windows 2008 R2 server with the same results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,gridview 的自动生成列不适用于生成的此数据表。如果我在网格视图中指定列,我就会得到数据。
我以前从未见过这种情况,尤其是对于看起来格式良好的数据表(即所有列都已指定)。
As it turns out, the gridview's autogenerate columns was not working on this datatable that was generated. If I specify the columns in the gridview then, I get data back.
I've never seen this before, especially with what appears to be a well formed datatable (ie columns are all specified).