Static Column Data

Posts   
 
    
ScottCate
User
Posts: 48
Joined: 11-May-2005
# Posted on: 29-Nov-2005 19:51:11   

Is there a way to return static column data, like the following SQL?

 Select 'thisText' as Column1, firstName, lastName from Users?

I'm trying to add this Column1 to a dynamic typed list.

 adapter.FetchTypedList(myEntityFields2, myDataTable, myFilter, 0, sort, true);

Is it possible to add the above Column1 to my EntityFields2 collection?

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 30-Nov-2005 01:51:12   

Check this forum entry, it should help you out. http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=3270

ScottCate
User
Posts: 48
Joined: 11-May-2005
# Posted on: 30-Nov-2005 04:04:48   

I'm actually filling the same data table twice. First with a typed list, and then again with a slightly different typed list.

I was hoping to fill it a second time with a static column, instead of leaving it blank.

So I'll just resort to iterating through the rows, and setting the values.