Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Helper function inside template column

Reply
Thread Tools

Helper function inside template column

 
 
Chris
Guest
Posts: n/a
 
      11-24-2003
Hi,

I need help with some c# syntax. I'm trying to call a
helper function from within a datagrid template column.
In VB.NET i'd do:

<%# Helper(Container.DataItem("item")) %>

However in c# I'm getting a bunch of syntax errors. Can
someone point in the right direction please?

Cheers

Chris
 
Reply With Quote
 
 
 
 
Michael Tkachev
Guest
Posts: n/a
 
      11-25-2003
Crees,

What kind of function are you trying to call?
Can you send me the code?




The Best Regards,
Web Developer
Michael Tkachev

"Chris" <> wrote in message
news:4c8301c3b276$35587320$...
> Hi,
>
> I need help with some c# syntax. I'm trying to call a
> helper function from within a datagrid template column.
> In VB.NET i'd do:
>
> <%# Helper(Container.DataItem("item")) %>
>
> However in c# I'm getting a bunch of syntax errors. Can
> someone point in the right direction please?
>
> Cheers
>
> Chris



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function template inside of class template Arne Schmitz C++ 1 12-19-2006 09:09 AM
template function specialization inside template class possible? quarup@gmail.com C++ 7 08-25-2006 11:01 PM
What's the purpose of the helper cache and is there a way to just turn off helper cache-ing? kevin Ruby 1 07-21-2006 03:42 AM
Formatting output fron Helper Function in Template? Syntax? D. Shane Fowlkes ASP .Net 1 05-19-2005 06:40 PM
Hyperlink Column & Helper Function not working D. Shane Fowlkes ASP .Net 1 11-19-2004 09:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57