when u use the follow code on 1.1.it will compile without error. 
Code

while it will run error on 2.0 with "Cannot create a DataRelation if Parent or Child Columns are not in a DataSet.".

if u want to run normally,u can use this cod:


Code
posted on 2008-03-14 22:57  孤剑  阅读(124)  评论(0)    收藏  举报