The connection string is optional (it'll use the current Umbraco database if nothing is specifed), and the SELECT statement must return two fields 'Text' and 'Value'.
Can you confirm that your conection string & SQL expression are working via SQL Management Studio ?
Sql DropDown List UComponents
Hi there ,
can you tell me how i can use Sql DrowDownList from UComponents .
I try with :
SqlExpresseion: select id from Database
and connectionString is :
server=server ;database=myDatabase;user id=userId;password=passwordID;
but it's not working . What i'm doing wrong ?
Hi Vladzebu,
The connection string is optional (it'll use the current Umbraco database if nothing is specifed), and the SELECT statement must return two fields 'Text' and 'Value'.
Can you confirm that your conection string & SQL expression are working via SQL Management Studio ?
Thanks,
Hendy
Yes , i resolved the problem .
I used something like :
select field1 as Text , field2 as Value from Database .
It's works with my connection string .Problem was with Sql Expression .
Cheers , Vlad .
is working on a reply...