Browse by Tags

Related Posts

  • Generic List Control using a Repeater..

    Hi, I am planning to implement a generic list control using a repeater. Requirements are 1. It should have the flexibility for the number of columns depending on the datasource. 2. It should allow the developer using it to provide the details about the columns, headers and rows. 3. it should allow sorting...
    Posted to Data Presentation Controls (Forum) by PreetamAdwani on 05-14-2009, 12:00 AM
    Filed under: Repeater, runtime., generic, listcontrol
  • Applying Filtering, Paging, and Sorting in MVC

    The current project I am working on is getting up and running using MVC design and I have encountered an obstacle that I am sure some have in the past. Alot of the calls to the database are returned in forms of Generic Lists, which works fine except for when functionalities that I have mentioned in the...
    Posted to ASP.NET MVC (Forum) by meinmk5 on 08-25-2008, 12:00 AM
    Filed under: MVC, Paging, Collection, generic, List, Filtering, Sorting
  • Options for updating a database (provider generic)

    Hi all, I really hope you can help me. At my work we have lots of questionnaires that we wish to enter into our database (MSSQL). I need to find a way that is not Provider specific i.e. should work with MSSQL, MySQL, Oracle (pah!), etc... Using the objectDataSource is my preferred method by passing parameters...
    Posted to Data Access and ObjectDataSource Control (Forum) by dan_abdn on 07-31-2008, 12:00 AM
    Filed under: Data Access, forms, generic, provider, questionnaires
  • How to Distinct a Generic List <String>

    I have a list like this: List<string> tempTotalFilePathList = new List<string>() {"Hello", "Hi, "Hello", "Where are you?", "Hi"}; How to Distinct it? I found a way myself as following, it works but I don't like it! IEnumerable < string >...
    Posted to C# (Forum) by Dynamic2008 on 07-03-2008, 12:00 AM
    Filed under: Add, Distinct, generic, IEnumerable, list
  • 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
  • Date time Alteration

    Hi, I have 2 textboxes the first one displays the time now, simple enough but I am trying to get a second textbox to display the result of the first box, + 50 days. I 'm not sure how to do this and i am getting identifier errors , please help if you can, thanks. Textbox1.Text = Datetime.Now.ToString...
    Posted to C# (Forum) by camper on 09-14-2007, 12:00 AM
    Filed under: .Net, .net C# jobs, asp.net, C#, C# code, C#. NET 2005, c#.net, generic, asp.net2.0 controls
  • Re: How can I concatenate a character string to a string[] array?

    I don't think you can change array size simply like that. if you are using c# 2.0 use generics eg. List<string> mylist = new List<string>(); string line = string.Empty; mylist.add(",HelloWorld"); char[] commaDelimeter = { ',' }; using (StreamReader strmRdr = new StreamReader...
    Posted to C# (Forum) by biruh on 06-03-2007, 12:00 AM
    Filed under: String, C#, generic
  • 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#
  • How to access the values that are stored in a class as a generic type

    Hi I have class like this:which Generic and I am just adding a value to the List..Can any body let me know how can I access the value of GetNames(List<myTest> inv) in the main method: static void Main(string[] args) { //Please let me know how can I access the values of the Class Demo<T> here...
    Posted to C# (Forum) by pepcoder on 07-09-2009, 12:00 AM
    Filed under: generic, generic delegate, Visual Studio 2008, C#3.5
Page 1 of 2 (13 items) 1 2 Next >