Browse by Tags

Related Posts

  • How to Sort custom data inside GridView TemplateField?

    Hello there! I have a problem with my GridView Control. In my aspx page, i have a GridView1 with columns: <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> < asp:TemplateField HeaderText= "CustomWord" > < ItemTemplate >...
    Posted to Data Presentation Controls (Forum) by MinimalTech on 05-14-2009, 12:00 AM
    Filed under: sort, template, custom, data, field, GridView
  • how to sort record by date

    Hi friend, I would like to sort my records by Date and fill then in datagrid. while adding them i am converting the date format to System. DateTime .Now.ToString( "dd/MM/yyyy HH:mm" ); but when i am selecting the record with this query strquery = "select * from Clients order by date desc"...
    Posted to Data Access and ObjectDataSource Control (Forum) by indianmaestro on 02-19-2009, 12:00 AM
    Filed under: sort, Date Conversion
  • How to do 2 sorts in the same arraylist.

    Hi every body I created a class to sort an arraylist that i used to bind a GridView. In this case i have no problems, in this case i sort my arraylist with the id_user. But i don't know how sort this same arraylist with id_user and date, in fact i want te realized a sort with the id_user in the first...
    Posted to Visual Basic .NET (Forum) by PascalCmoa on 02-03-2009, 12:00 AM
    Filed under: sort, arraylist, compare, IComparer
  • Dynamic Data Entity Framework: Initial Sort Order

    Dynamic Data 3.5 SP1 For just one of my Dynamic Data Entities tables I would like to control the order of the displayed records, specifically I would like to order a date column descending. The (SQL Server) table is named "EventLog" with a column "datLocalTimestamp" of type DateTime...
    Posted to ASP.NET Dynamic Data (Forum) by BHunsaker on 01-18-2009, 12:00 AM
    Filed under: OrderBy, Partial Classes, Sort, Sort Column, Dynamic Data Entities
  • Default sorting with descending order

    I have some table with Date column. I want to have default sorting on my Date column with descending order that rows with last date wil be on the top. I have a LINQ to SQL DataSource. I have attempted to use OrderByParameters, but I can't make descending order on my column. Which the best way to...
    Posted to ASP.NET Dynamic Data (Forum) by Balyk on 11-25-2008, 12:00 AM
    Filed under: Sort, ASP.NET Dynamic Data
  • Setting initial sort order

    I'm using Dynamic Data 3.5 SP1. I have two questions on setting the initial sort order for Gridviews displaying data from the LINQ data source. 1. Is there a way to impose my own sort order on the table gridviews that dynamic data is automatically generating? Is there some attribute I can set in...
    Posted to ASP.NET Dynamic Data (Forum) by smhontz on 08-19-2008, 12:00 AM
    Filed under: Dynamic Data SP1, Sort
  • Re: File Object

    Hello, Yes, the code as you have it will not work. You need to sort the collection before you write the information. You can create a custom Comparer (by implementing IComparer interface -- see http://msdn.microsoft.com/en-us/library/system.collections.icomparer.aspx ), add the items to an ArrayList...
    Posted to Getting Started (Forum) by igor.p on 08-18-2008, 12:00 AM
    Filed under: file, IComparer, sort
  • How to sort the gridview with custom queries

    I have a gridview databound to an access database. I am allowing users to select the individual letters of the alphabet with individual link buttons (A,B,C...) (I know, this is not the best way to do this but it's what I have for now.) to return the employees whose last name starts with that particular...
    Posted to Data Presentation Controls (Forum) by Sal on 08-10-2008, 12:00 AM
    Filed under: sort, sorting, gridview grid view
  • Re: composite key

    Yep I've just double double checked and both methods definatley work. I'm using SQL 2008 but if you look at the SQL trace there is no OrderBy And as you can see from this SQL Trace: SELECT [t0].[SupplierID], [t0].[CompanyName], [t0].[ContactName], [t0].[ContactTitle], [t0].[Address], [t0].[City...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 08-05-2008, 12:00 AM
    Filed under: Dynamic Data, Linq to SQL, Sort
  • Re: composite key

    [quote user="alex999"]I don't have a real database column "test" in my project. I named it 'test' because other fields are already defined by the designer. Why is this 'get' used, when a foreign key points to the 'Account'-class?[/quote] This is standard...
    Posted to ASP.NET Dynamic Data (Forum) by sjnaughton on 08-05-2008, 12:00 AM
    Filed under: Dynamic Data, Linq to SQL, Sort
Page 1 of 3 (24 items) 1 2 3 Next >