Posted on: 4/13/2014 6:13:30 PM | Views : 368

Hi, 
I don't know how to get a list, containing all the results
How can I Change this code so that i can have a list

[WebMethod] public string ChercherFactureC() { string bodytext = ""; string FctCNumero = ""; string FctFNumero = ""; string FctCDateDebut = ""; string FctCDateFin = ""; string FctCDateEdition = ""; string FctCMontant = ""; string FctCEtat = ""; string FctCLibelle = ""; string CltCompte = ""; SqlConnection connection = new SqlConnection(); connection.ConnectionString = "Data Source=.\\SQLSERVER ;Initial Catalog=db; Integrated Security=SSPI;"; string SQLQuery = "SELECT FctCNumero, FctCMontant, FctFNumero ,FctCDateDebut, FctCDateFin, CltCompte, FctCDateEditi ...

Go to the complete details ...