It is also a great learning tool because it show you reality and you can see which expectation match reality. There is a tool that allow you to see what your code is doing, its name is debugger. When your program fail, use the debugger to inspect variables and check which is the unexpected condition. Quote:I could not understand why it is throwing that exception.ĭo not do programs relying on expectations, make your program check if expectations are met. extension method to get StudentNums as to achieve (new OracleParameter("pStudentNums", studentNum)Ĭmd.AddArrayParametersOra(storeNums, " StudentNums") Using (OracleConnection con = new OracleConnection(connectionString))įoreach (DataRow row in dtReportTbl.Rows) String query = " select Grade from student_grade where myTable in ('JMS','JSM') and student_Num in () order by student_Num" String)) ĭ( " InsertedDate", typeof(DateTime)) ![]() Public DataTable GetGrade(DataTable dtReportTbl)ĭ( " Salary_Grade", typeof(System.
0 Comments
Leave a Reply. |