Hi,
I am Using NetTiers in My application.
I am Using WebServices for Creating Methods and Using those Methods in My Page:
Below is the Method which i created in asmx Page(WebService).I am not Using NetTiers Services.
[WebMethod]
public Tlist<JobPostings> ListOfOrders()
{
string blStatus = "True";
JobPostingsParameterBuilder oJobPostingsParameterBuilder = new JobPostingsParameterBuilder(true, true);
oJobPostingsParameterBuilder.AppendEquals(JobPostingsColumn.Status, blStatus);
TList<JobPostings> tlstJobPostings = DataRepository.JobPostingsProvider.Find(oJobPostingsParameterBuilder.GetParameters());
DataRepository.JobPostingsProvider.DeepLoad(tlstJobPostings, true, DeepLoadType.IncludeChildren, typeof(Worktypes), typeof(Employer), typeof(Account));
return tlstJobPostings;
}
Here in the above code i have a Parent Table(JobPostings).Initially i am retrieving based on the Status after that i am deeploadind with three tables(Worktypes,Employer, Account)
While Debugging this Method in WebServices application i am able to get the Child Table Columns(ie.WortypeidSource,EmployerIdSource,AccountIdSource).
The Problem that i am facing is:
When i am using this WebService Method(Which i hosted in IIS) in My aspx Page for getting the data and Binding to my datagrid i am not able to get the Child Table Column Values(i.e WortypeidSource,EmployerIdSource,AccountIdSource)
So that i am not able to bind the Child Table Column Values.But I am getting Parent Table Columns Values.
The Only problem is to get the Child Table column Values from WebServices Method(Which i created).
But If i am debugging explicity in the Webservices(which is in the above code) i am getting the Child Table Column Values.
Can anybody help me out of this problem Plz it is very urgent.
With Regards,
kalyan