|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Are variable column names possible?
I was wondering is it possible to use a variable in place of "Size" in the following bit of code?
Code:
<%=(rsChange.Fields.Item("Size").Value)%>
|
|
#2
|
||||
|
||||
|
hi u can do like this
Code:
<%
dim x
x=rsChange.Fields.Item("Size").Value)
%>
__________________
Nothing is Impossible bcoz IMPOSSIBLE itself says.. I M POSSIBLE........................ Be cool !!!!!!!!
|
|
#3
|
||||
|
||||
|
This may work
<% test = "Size" %> <%=(rsChange.Fields.Item("" & test).Value)%> but I'm not sure... |
|
#4
|
||||
|
||||
|
yep it's possible afaik and you don't have to add empty string:
Code:
<%=rsChange(test)%> |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Are variable column names possible? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|