Bind Two DataFields to a control
Reply
![]() |
|
From:
![]() SriSrivatsav
|
Hi,
What I under stand from your query is you want the display to be EmpName[DeptName] and valueid to be empid. If this is a case, then you can achieve this by simple join.
Select e.empname || '[' || d.deptname || ']' , e.deptid from emp e,dept d where e.deptid = d.deptid
And binding to the control is not a difficult task.
Bye,
Kalyan.
From: "pkvaranasi" <[EMAIL PROTECTED]> Reply-To: "dotNET User Group Hyd" <[email protected]> To: [email protected] Subject: Bind Two DataFields to a control Date: Sat, 25 Feb 2006 20:33:07 -0800
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
ThmFgColumnHeader, A.FrameLink, A.HeaderLink, A.FooterLink, A.LgtCmd, A.MSNLink
{color:#FFFFFF;}
ThmFgTitleLightBk
{color:#FF6600;}
ThmFgSmallLight
{color:#ff0000;}
ThmFgNavLink, A.NavLink, A.ChildLink:hover
{color:#666699;}
ThmFgInactiveText, A.SystemLink
{color:#666666;}
ThmFgFrameTitle
{color:#FFFFCC;}
ThmFgMiscText, A.Cat, A.SubCat
{color:#336699;}
ThmFgCommand, A.Command, A.LargeCommand, A.MsgLink
{color:#003366;}
ThmFgHeader
{color:#333333;}
ThmFgDivider
{color:#CCCCCC;}
ThmBgStandard
{background-color:#FFFFFF;}
ThmBgUnknown1
{background-color:#FF6600;}
ThmBgFraming
{background-color:#666699;}
ThmBgUnknown2
{background-color:#666666;}
ThmBgHighlightDark
{background-color:#FFFFCC;}
ThmBgHighlightLight, #idToolbar, #tbContents
{background-color:#FFFFE8;}
ThmBgTitleDarkBk
{background-color:#F1F1F1;}
ThmBgAlternate
{background-color:#ECF1F6;}
ThmBgUnknown3
{background-color:#CCCCFF;}
ThmBgDivider
{background-color:#CCCCCC;}
ThmBgHeader
{background-color:#9999CC;}
ThmBgLinks
{background-color:#8696C9;}
ThmBgSharkBar
{background-color:#8696C9;}
ThmBgGlobalNick
{background-color:#9394A9;}
calfgndcolor
{color:#E00505;}
calbgndcolor
{color:#E00505;}
</STYLE>
Bind Two DataFields to a control
Reply
|
|
| From: pkvaranasi |
Hi,
I hv an Issue with binding of two values to a control. My Scenario is like this:
I hv two tables, for ex, emp & dept, both having a common field , dept_id
I Just want to populate a List box, with the values like EmpName [ Department Name ] with a checkbox before. So that the end user can select the employee.
Can any help me in this regard...
Early reply is appreciable...
ThanQ
VarShant
_________________________________________________________________ One and only Ash. Find out all about her. Only on MSN Search http://server1.msn.co.in/profile/aishwarya.asp
| | View other groups in this category.
|
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services. For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's
mailing list. Remove my e-mail address from dotNET User Group Hyd.
|
Shah Rukh fan? Know all about the Baadshah of Bollywood. On MSN Search |
|
View other groups in this category.
![]() |
To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.
If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.
|
|