Microsoft
Software
Hardware
Network
Question : Combo Box display text vs. actual text
I have 3 combo boxes that are populated using the names of the columns in a database. I was wondering if I could somehow change the displayed text in the combo. So instead of the user seeing:
TenantName
City
FRorCorp
AskCAP
They would see:
Tenant Name
City
Franchise or Coporate
Asking CAP
The code I am using to populate the combo boxes is
SELECT a.TenantName, b.City, c.FRorCorp, d.AskCAP FROM tblTenants a
This is being use for a pop up filter
Thanks
Answer : Combo Box display text vs. actual text
You can use output column names:
SELECT a.TenantName AS [Tenant Name], b.City, c.FRorCorp AS [Franchise or Coporate], d.AskCAP AS [Asking CAP] FROM tblTenants a
Random Solutions
Would like to add column to existing Datatable, then add items to it one at a time.
Code Last business day of the month
Limit the number of items in a ASP.Net drop down list
Exchange 2007 Storage Groups
MD5 Hash
Outlook voting button no response summary
Access security query
Hide root node in Menu using xmldatasource
My App can't find Crystal Decisions DLL after it is moved to another computer.
Pivot Table Form - Display Null Values as "0" on Data Axis