-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
This Complete .NET & C# Developer Certification Bundle only costs $31
By News Staff,
- .net
- .net framework
- (and 10 more)
- 0 replies
- 513 views
-
This Complete .NET & C# Developer Certification Bundle is now 98% off
By News Staff,
- .net
- .net framework
- (and 14 more)
- 0 replies
- 730 views
-
- 1 reply
- 413 views
-
- 12 answers
- 10,058 views
-
- 2 answers
- 1,921 views
-
Question
Kalint
Partial Form Code
Partial Accessor Code
// BUILDERS RESULTS
public class BuildersResults
{
public string Builder { get; set; }
public string Address { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zip { get; set; }
public string PhoneNumber { get; set; }
public string FaxNumber { get; set; }
public string EmailAddress { get; set; }
}
// Get Full Table of Builders
public static List<BuildersResults> DisplayBuilders()
{
var dataConnect = new PxLinqSqlDataContext();
return (from b in dataConnect.GetTable<TblBuilders>()
select new BuildersResults
{
Builder = b.Contact,
Address = b.Address,
City = b.City,
EmailAddress = b.EmailAddress,
FaxNumber = b.FaxNumber,
PhoneNumber = b.PhoneNumber,
State = b.State,
Zip = b.Zip
}).ToList();
}
[/CODE]
Link to comment
Share on other sites
0 answers to this question
Recommended Posts