Report report = new Report();
string path = Application.StartupPath + @"\Report\report.frx";
report.Load(path);
report.RegisterData(dt, "Table");
report.Show();
Report report = new Report();
string path = Application.StartupPath + @"\Report\report.frx";
report.Load(path);
report.RegisterData(dt, "Table");
report.Show();
var v = from r in dt.Rows.Cast<DataRow>()
where r["Stay_day"].ToString() != "" && Convert.ToInt32(r["Stay_day"].ToString()) > Stay_day
select r;
//select new
//{
winform & Fastreport
由winform製作使用介面
再由fastreport繪製表格出來
fastreport必須先連接至資料庫
若使用的資料庫資料是屬於在不同資料表時
就我以前認知
以為回傳資料不用特別擔心什麼問題
可是就在
最近發生了問題,就此打破我對回傳前後端的資料時的看法
---------------------------環境介紹---------------------------
範例一:
UPDATE 資料表
--SET 資料欄位 = '2018/5/10 10:16' --這一行是可以執行的
SET 資料欄位 ='2018/5/10 10:16' --跑這一行卻不行跑
where id = '123'
一般而言,在無特別的情況下
需要前後端傳值的時候都會需要ajax傳遞值的時候
可是有時候明明前後端都沒有錯誤,可是傳值卻一直失敗,或一直抓不到回傳值
可能會回傳 undefined 又可能是null
是為什麼呢?