Set default value of templated field in details view control

Discussion in 'ASP .Net Datagrid Control' started by RJ, Jul 5, 2006.

  1. RJ

    RJ Guest

    I am trying to set the default value (upon insert only and then display
    read-only after that) of a databound label (I made the column into a template
    field) in Visual Studio 2005 to My.User.Name... unfortunately, I can not
    figure out how to access the object to set it from code nor have I been able
    to successfully get around the 'parameter' field with doesn't like an
    evaluate expression in the 'default=""' value.
    Please help...
     
    RJ, Jul 5, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.