1.TimeReceivedがNullの場合は赤(または)2。TimeReceivedがnullではなくTimeReadがNullの場合はオレンジ(または)3。TimeReceivedがnullでない場合は緑
エラーをスローします
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.FormatException: Input string was not in a correct format.
Source Error:
Line 86: {
Line 87: Image img = (Image)e.Row.FindControl("image1");
Line 88: switch (int.Parse(e.Row.Cells[1].Text))
Line 89: {
Line 90: case 0:
どこがおかしいのですが、どうすれば状況に応じて画像を表示できますか。rowdataboundを正しく実行していないと思います。助けてください。