public DataTable get_sms_history() { Root_Gen root_obj_in = new Root_Gen(); try { DataTable DT_Obj = new DataTable(); string sql11 = "select 0+number(*) SlNo,mobile_no Mobile_Number,messages Messages,in_out InOut,status Status from cc.sms_inout where in_out='O' order by sms_inout_id desc"; DT_Obj = (DataTable)root_obj_in.db_select_operation_smsHistory(sql11); return(DT_Obj); } catch (Exception ex) { trcker_obj.Text_Tracker(Convert.ToString(ex)); return(null); } }