I have a count set up in a SQL view set to '*' with the alias set to 'Cn'. I can get the column name with:

grd.columns("columnName")

But it does not work when I use the alias... How can I pull use alias instead of the actual column name?

Thanks.

I figured it out... I mispelled something in the stored proc...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.