Results 1 to 2 of 2

Thread: datagridview column

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2007
    Posts
    23

    Question datagridview column

    i m working on windows application project for a library. I have a datagridview with a column "Date" with the dates that the books were borrowed. i want to have a second column with the number of days that a member is holding a book. So i want a function that take the date from date column and the current date and make a subsrtraction of dates to find it. any help please?

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: datagridview column

    Have a look at the Expression property of the DataColumn here: http://msdn.microsoft.com/en-us/libr...xpression.aspx

    Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width