[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

Commonly used variable

I have a string variable foo that is used a lot on my pages and it gets passed in a query string and is then matched to database.

How is the best way to display this data.

E.g Datagrid, Datalist, Repeater

In ASP I would have Foo = rs("FooName")

and then display using <%=Foo%>.

I know this sounds a simple question but I cannot find an example of how to just return a value from database and attach to variable.
0
tclgb
Asked:
tclgb
1 Solution
 
riyasjefCommented:
0
 
tclgbAuthor Commented:
Thanks
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now