Hello,
I was hoping I could get some help on web service. I have a web service which returns a table to Infopath. The C# source is below. The table comes back to InfoPath as shown in the picture below. How would I modify my web service so that the table is returned as repeating row, rather than via the repeating (Choice) indicator?
Thanks,
Dave
[WebMethod]
public DataSet GetAllLU_EducationLevelRecords()
{
DataSet DS = new DataSet();
SqlDataAdapter posAdapter = new SqlDataAdapter();
System.Data.SqlClient.SqlConnection cxn = new System.Data.SqlClient.SqlConnection(ConfigurationManager.ConnectionStrings["HumanResourcesConnectionString"].ConnectionString);
cxn.Open();
posAdapter.SelectCommand = new SqlCommand("select * from LU_EducationLevel", cxn);
posAdapter.Fill(DS);
cxn.Close();
return DS;
}