开发者

How to retrieve a data in a Variable from EntityDataSource

May be this is too trivial question.

I use C#, asp.net 4, EF4,

I have a page with a DetailsView contr开发者_开发技巧ol is connected with EntityDataSource. All is working.

In code behind I need to create a variable that will populate with data from EntityDataSource, lets imagine field UserId.

My questions: How to retrieve and use data from EntityDataSource?

Thanks guys. I am very beginners you advices are really important for me! Thanks


Maybe the DetailsView.DataKey Property will help you

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜