Peter Chan
asked on
Problem to the line
Hi,
I get this problem
https://dl.dropboxusercontent.com/u/40211031/tt383.png
due to this line
shop.Add(shopName)
upon that the error happens, I see the value of ShopName is
https://dl.dropboxusercontent.com/u/40211031/tt384.png
why?
I get this problem
https://dl.dropboxusercontent.com/u/40211031/tt383.png
due to this line
shop.Add(shopName)
upon that the error happens, I see the value of ShopName is
https://dl.dropboxusercontent.com/u/40211031/tt384.png
why?
ASKER
Here is the error I've got
輸入字串格式不正確
輸入字串格式不正確
I don't even see any code behind those links..
ASKER
I got the error as shown in above.
Otherwise the answer is simple: Just enter the text input in the correct format.
ASKER
I encounter the problem to last line below
If (shopcodehold = "" Or shopCode <> shopcodehold) Then
shop.Add(shopName)
...
ASKER
I encounter the problem to last line below
Private shopcodelist As New ArrayList, shop As New ArrayList, weeks As New ArrayList
...
If (shopcodehold = "" Or shopCode <> shopcodehold) Then
shop.Add(shopName)
...
What does shopName contain?
btw, post a concise and complete example. Create a console application which shows this behavior. You will see, that often when creating such an test, that you will find the error on your own. And when not, you have a good starting point for a question.
btw, post a concise and complete example. Create a console application which shows this behavior. You will see, that often when creating such an test, that you will find the error on your own. And when not, you have a good starting point for a question.
ASKER
Hi,
I further get the error message with stacktrace like
Conversion from string " " to type 'Double' is not valid. 於 Microsoft.VisualBasic.Comp ilerServic es.Convers ions.ToDou ble(String Value, NumberFormatInfo NumberFormat)
於 Microsoft.VisualBasic.Comp ilerServic es.Operato rs.AddObje ct(Object Left, Object Right)
於 KongTaiToolbar.StoreTurnov erCompareR eport.Crea teReportSh eet(Int32 startRowIndex) 於 C:\Kts Projects\KongTai\KongTai Toolbar\KongTaiToolbar\Rep orts\Store TurnoverCo mpareRepor t.vb: 行 327
due to this line
Dim temp2 As Double = Double.Parse(IIf(area2.Val ue.ToStrin g.Trim = "", 0, area2.Value))
How to resolve this?
I further get the error message with stacktrace like
Conversion from string " " to type 'Double' is not valid. 於 Microsoft.VisualBasic.Comp
於 Microsoft.VisualBasic.Comp
於 KongTaiToolbar.StoreTurnov
due to this line
Dim temp2 As Double = Double.Parse(IIf(area2.Val
How to resolve this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In this case, the picture shows something in a far-eastern script, which is no help at all to most of us, so could you try to translate, please? Google has an on-line translator which you might be able to use.