I realized I posted this in the wrong forum yesterday: Is it possible to convert a string to date d...
I have a report that works at work on a PC.However at home on the laptop it shows an error Bad date ...
crystal report可以做的道嗎? 謝謝 2006年10月17日 上午 12:58 pmpmppm 20 點數 所有回覆 0 登入以投票 把這一個值也當成參數進去就好了 在程式用datetime的格式去換算再轉成文字傳進去 string ss = "9602"; DateTime st = DateTime.Parse((Convert.ToInt32(ss.Substring(0, 2))+1911)+"/" + ss...
cannot convert string to double !! Cannot convert type "System.collection.generic.list<iTextSharp.text.IElement>" to system.collection.array cannot find dll file in bin folder cannot implicitly convert 'system.data.dataset' to string Cannot implicitly convert type 'double' to 'string' Cannot im...
SELECT DATEPART(HOUR,CONVERT(VARCHAR,HOUR(GETDATE()),109)) -- 18:02:57:083 try this if not working let me know Viswanath Mark as answer if it helps Tuesday, March 4, 2008 5:58 AM thanks for your reply. but i am not asking this. i go to change the entire dates format of my...
dr["UNITPRICE"] = Helper.Formater.FormateCurrency(OrderProvider.ComputeComponentCustomerPrice(Convert.ToDecimal(accessaryItem[i]["Price"].ToString()),int.Parse(accessaryItem[i]["Count"].ToString()), Convert.ToDecimal(accessaryItem[i]["HandWorkPrice"].ToString())); dr...
在Crystal中,要将十六进制字符串转换为int,可以使用String.to_i方法,并指定进制为16。这个方法将会解析字符串中的字符,并将其转换为对应的整数值。下面是一个示例代码: 代码语言:crystal 复制 hex_string = "1A" decimal_number = hex_string.to_i(16) puts decimal_number 在上面的代码中,我们将十六进制字符...
Do I need to convert the request strings to the correct data type? How do I convert a string to a date type? Also, the report also has a subReport that contains four charts. The subReport take the same parameters. Does this make a difference? Should I add the params for the subReport...
I have a situation using V7 of Crystal that I need to display dates in the report, however they are stored in the DB as a numeric field using the format 20010702.00 to represent July 2, 2001. I have worked out several different ways to convert this value and use it with the date comm...
Am using a database which allocates time buckets as STRING values. Would like to somehow convert the values in this field to date values so i can then group by time in what ever interval i want using the group expert. The database (which I cant control) records info in 15 minute inte...