摘要: SELECT B.resultNo,resultList as result FROM (SELECT resultNo,(SELECT CONVERT(nvarchar, questionnaireNo)+CONVERT(nvarchar, highestQuestionNo) FROM ResultAnalyze WHERE resultNo=A.resultNo ORDER BY questionnaireNo FOR XML PATH('')) AS resultListFROM ResultAnalyze A GROUP BY resultNo) B查询代码 阅读全文
posted @ 2014-03-02 16:29 Alf7 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1. 定义要用到的临时变量 private bool dragging; Point mousePoint; TextBlock mouseCtrl = null; Rectangle shadow = new Rectangle(); public MainWindow() { InitializeComponent(); c.Children.Insert(0, shadow); }2. 定义鼠标按下方法(索要拖拽控件的事件) priv... 阅读全文
posted @ 2014-03-02 16:28 Alf7 阅读(214) 评论(0) 推荐(0) 编辑