How to make the first row of the datagrid "AddNew"

  • 12 years ago

    Is there any way (parameter) that sets the Add New row as the first row (on top) not the default at the end.





  • 12 years ago

     Do you have creation date time column?

    if you have you can sort by that column. 

    if dont have you can create a new one just set visible to false

  • 12 years ago

    Sorry this isn't the answer I need.

    The sorting order is not a problem, I have a TimeStamp field that is sorted in descending order.

    I need to first row (top most row) in the datagrid to be an empty row where I can insert new data.

    The lists are to big to scroll each time down to enter a new record

    Anyone an idea how to do this?

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth