Hi
In my DB I have a field called pictures with type nvarchar(MAX) where I am keeping the URL to the image.(jpg)
I use the RadBinaryImage. I read from the sample code and it shows I have to use some Databound Control.
Which will be the basic DataBound Control (if have to be used) ?
What will be my DataValue property and how do I bind the query to RadBinaryImage.
Can you suggest? I am new to RadControls.
I was trying to do something below!!!
| private void BindPhoto(int facultyId) |
| { |
| string Surname = txtSurname.Text.Trim(); |
| string FirstName = txtFirstName.Text.Trim(); |
| var query = (from tel in dc.tdlTeldirs |
| where (tel.Family.ToLower() == Surname.ToLower() && tel.First.ToLower() == FirstName.ToLower()) |
| orderby tel.First |
| select new |
| { |
| Photo = tel.pictures |
| }); |
| BindList(ImgPhoto, query); *********************** I know i cant bind it like this!!! |
| } |
But cant find out the best way!!!
Thank you