积极答复者
EF问题

问题
答案
-
我找到原因了,但不知道怎么解决;
我写了一个存储过程;同一个页面,有两个grid,根据数据源的不同来绑定,数据源是通过存储过程来获取的,只是传入的数据不一样;
也就是说同一个页面调用了两次,就会出现这个问题
大其心,可容天下之物; 虚其心,可受天下之善;
Best Regards,
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".- 已标记为答案 Chester HongModerator 2013年5月29日 21:33
全部回复
-
你好,
请问可以提供相关代码和错误信息吗?这个异常仅在调用存储过程时出现吗,如果对DBContext进行其他操作也有问题吗?
Chester Hong
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
我找到原因了,但不知道怎么解决;
我写了一个存储过程;同一个页面,有两个grid,根据数据源的不同来绑定,数据源是通过存储过程来获取的,只是传入的数据不一样;
也就是说同一个页面调用了两次,就会出现这个问题
大其心,可容天下之物; 虚其心,可受天下之善;
Best Regards,
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".- 已标记为答案 Chester HongModerator 2013年5月29日 21:33