Browse by Tags

Related Posts

  • Re: Typed ViewPage Using Generics Without Code Behind

    Thanks! Where did you find this? It doesn't say anything about it in the online help for the page directive. I thought that the `1 was a typo, but it's not... After a little more searching I found this: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071&wa...
    Posted to ASP.NET MVC (Forum) by ghotiman on 12-13-2007, 12:00 AM
    Filed under: page, pagedirective, directive, generic, generics
  • Typed ViewPage Using Generics Without Code Behind

    I've successfully created .aspx view pages without code behind by replacing the first line with this: <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> However, trying to change it to inherit the generics to get typed view data like the following doesn't seem...
    Posted to ASP.NET MVC (Forum) by ghotiman on 12-13-2007, 12:00 AM
    Filed under: MVC, viewdata, viewpage, generic, generics, typedview
  • how to convert generic list to list of type string

    hi, this is sample code, public class BackUpLogic<T> { public void tableBackup(List<string> columnNames, List<T> tableData) { foreach (string cName in columnNames) { } foreach (T tRow in tableData) { } } } in second foreach ,tRow is holding data of one database table row. i wan to convert...
    Posted to C# (Forum) by cmakwana on 06-19-2009, 12:00 AM
    Filed under: collection, Generics, generic, collections, Generic List, Casting, generics in C#
Page 1 of 1 (3 items)