Click here to Skip to main content
16,019,876 members

Comments by scorpion_dev (Top 4 by date)

scorpion_dev 13-Dec-12 17:47pm View    
Hi Sheikh,

Thanks for the reply.

As I told earlier, I am using this inline expressions inside a repeater. I am able to get the value in the code behind. But, I am not sure how can we apply this value to a single item inside repeater.

Also, is there any way we can do this completely using inline expressions (not using code behind).

Thanks
scorpion_dev 13-Dec-12 15:05pm View    
For the first format I am getting an error:

Invalid expression term 'else' and highlights <%}else{%>

Second format: CS1525: Invalid expression term ')' and highlights the line:

<% if ((%> <%#(string)DataBinder.Eval(Container.DataItem, "key")%> <%).equals("50")) {
scorpion_dev 14-Nov-12 15:01pm View    
Thank you podbielski for the reply.
I was wondering that is there any way we can do it in the iFrame code? If not, I will use the Google maps api.

Thanks,

Scorpion
scorpion_dev 31-Oct-12 12:48pm View    
Hi Marcus,

Thanks for the reply.

I have used the second option you provided, but it was returning null value.
But, I was able to solve it like this:

INSERT INTO ImageTable (photo,imagetype,imageName) VALUES(@photo,@type,@Imgname); SELECT SCOPE_IDENTITY();

which returns the id value as decimal, then I am converting it into int.

Thanks,

Scorpion