I have a database which has a table known as 'casetype' there are two fields namely 'sr' and 'skey', sr contains numeric value whereas 'skey' contains text value.
I have a DropdownList in asp.net and i have bound the 'skey' to it so it shows all the values that are there in 'skey' once dropped down. the query for it is
what i want is,once user selects a value from dropdownlist corresponding value in 'sr' should be behind it.
e.g when user selects 'a' the corresponding value in the database table say '8' should be present behind.\
In short user should see a text value but a programmer will work on numeric digits.
How can i do it? i want the sql query that connects the table casetype 'skey' 'sr' i want to print numeric digit once a user select a input.
I have a DropdownList in asp.net and i have bound the 'skey' to it so it shows all the values that are there in 'skey' once dropped down. the query for it is
Code:
SELECT testcase.casetype.skey FROM testcase.casetype
e.g when user selects 'a' the corresponding value in the database table say '8' should be present behind.\
In short user should see a text value but a programmer will work on numeric digits.
How can i do it? i want the sql query that connects the table casetype 'skey' 'sr' i want to print numeric digit once a user select a input.
Comment