我有一个GirdView监听我的系统中使用ASP:NET成员资格的所有活跃用户。我想有一个CheckBox,可以选择或不取决于是否一个特定的用户是批准或没有。使用事件处理程序RowDataBound时,我的脚本无法工作。在合适的案例中选择CheckBox有什么想法吗? protected void uxUserListDisplayer_RowDataBound(object sender, GridViewRowEventArgs e) // Check or Uncheck a CheckBox depending if
我找到了Membership.GetUser(),但它似乎不支持通过UserId Guid检索用户信息。有没有人有好的干净利落的方法?User = Membership.GetUser(dr.GetValue(dr.GetOrdinal("Id"))); //fail
错误消息:specified method is not supported