473,387 Members | 1,470 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SQL query in an ASPX "Expressions Web" page to a database (beginner)

I have an aspx page with some form controls in it. They all work fine except for one thing, the control (list) that is populated based on the selected item in the first control (dropdownlist1) is only showing the element ID, not the "name" which I want.

So, I think I just need a pretty simple join query to get the name property.

I need to get the Capability name (capability_name) from the Capability Table where the capabilityid in the Capability table matches the capabilityid in the Cap_Cap_Hierarchy_Rel Table AND parentid in the Cap_Cap_Hierarchy_Rel Table = dropdownlist1.selected (selected capability in the dropdown in the form)


Thank you!!!!
Mar 17 '07 #1
0 1129

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jim Mitchell | last post by:
I like to display my web site in a window so that users can use the "Send Page" function in IE to mail their output using their client side Outlook program. The problem is that I always get an...
7
by: | last post by:
hi, I have got XML tag <fo:block font-weight="bold" font-size="13pt"><!]></fo:block>. Problem is when i gives xmlURL from c# to InputStreamReader in J# code with the aspx web page as XML which...
0
by: | last post by:
hi I have got .aspx page on the page i have pasted .ascx. On the .ascx i have pasted two more .ascx. I called the method " Page_Load " with statement " if (!IsPostBack) ", problem is when .aspx...
5
by: Gopal Krish | last post by:
Hello, Can anyone tell me how to strong name a web page? Thanks Gopal
7
by: Andrew | last post by:
Hi, friends, I have a big problem: Based on a user's selection, portion of a web page need to be refreshed. For instance, if a user select Math, all avaible Math classes will be populated in the...
1
by: jjouett | last post by:
I'm trying to setup an ASPX web page such that an existing Java Client can post form data, and I'm running into a problem. The existing Java Client doesn't set any credentials, and when I try to...
2
by: ad | last post by:
I have install IIS and dotNetFramework2.0 in my Windows XP Pro. I have set the asp.net version to 2.0. but the IIS run well with .asp web page, but can't access .aspx page. How can I do?
3
by: =?Utf-8?B?R3VpbGxlcm1vIEppbWVuZXo=?= | last post by:
Hi.... Please help me with this case. I need to show an image .TIFF in a .aspx web page. The web site is developer on Visual Studio 2005. The image control no support this image format, that...
1
by: S_K | last post by:
Hi, I need to create and display a completely new and seperate web page from within an existing web page. Response.Redirect("localhost....") dosen't do it because I have a SINGLE web page when I...
2
by: S_K | last post by:
Hi, I need to create and display a completely new and seperate web page from within an existing web page. Response.Redirect("localhost....") dosen't do it because I have a SINGLE web page when I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.