public static string checkAnswer(List <string> _arr) { DataSet ds = new DataSet(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.QuestionID = Convert.ToInt32(_arr[0].ToString()); _sbobj.GuestAnswer = _arr[1].ToString(); try { ds.Tables.Add(_sbobj.CheckAnswer()); } catch (Exception ex) { } return(ds.GetXml()); }
public static string checkAnswer(List<string> _arr) { DataSet ds = new DataSet(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.QuestionID = Convert.ToInt32(_arr[0].ToString()); _sbobj.GuestAnswer = _arr[1].ToString(); try { ds.Tables.Add(_sbobj.CheckAnswer()); } catch (Exception ex) { } return ds.GetXml(); }
public static string disconnectUser(List<string> _arr) { DataTable dummy = new DataTable(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.EID = _arr[0].ToString(); DataSet ds = new DataSet(); try { dummy.Merge(_sbobj.DisconnectUser()); ds.Tables.Add(dummy); } catch (Exception ex) { } return ds.GetXml(); }
public static string checkAnswer(List<string> _arr) { DataTable dummy = new DataTable(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.QuestionID = Convert.ToInt32(_arr[0]); _sbobj.GuestAnswer = _arr[1].ToString(); _sbobj.EID = _arr[2].ToString(); _sbobj.TimeAnswered = Convert.ToDecimal(_arr[3].ToString()); DataSet ds = new DataSet(); try { dummy.Merge(_sbobj.CheckAnswer()); ds.Tables.Add(dummy); } catch (Exception ex) { } return ds.GetXml(); }
public static string loadScore(List<string> _arr) { DataTable dummy = new DataTable(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.EID = _arr[0]; DataSet ds = new DataSet(); try { dummy.Merge(_sbobj.LoadScore()); ds.Tables.Add(dummy); } catch (Exception ex) { } return ds.GetXml(); }
public static string checkQuizStatus(List<string> _arr) { DataTable dummy = new DataTable(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.QuestionID = Convert.ToInt32(_arr[0]); DataSet ds = new DataSet(); try { dummy.Merge(_sbobj.CheckQuizStatus()); ds.Tables.Add(dummy); } catch (Exception ex) { } return ds.GetXml(); }
public static string checkifQuizBeeStatusisActive(List<string> _arr) { DataTable dummy = new DataTable(); SystemObjects.SBObj _sbobj = new SystemObjects.SBObj(); _sbobj.EID = _arr[0].ToString(); DataSet ds = new DataSet(); try { dummy.Merge(_sbobj.CheckifQuizBeeStatusisActive()); ds.Tables.Add(dummy); } catch (Exception ex) { } return ds.GetXml(); }