CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Location
    Bangalore
    Posts
    47

    How to open a txt file when we click on DataGridView in Visual Studio 2005

    Hello all,
    I am developing an application using C# in visual studio 2005 in which the problem is like this....

    I have a DataGridView having 2 fields
    1) File Name
    2) Date

    File Name should be hyperlinked...
    When I click on File Name field then the file should open.
    For example if the file is abc.txt then it should pop up at the click...
    Last edited by rahulsri19; May 4th, 2007 at 07:10 AM.

  2. #2
    Join Date
    Mar 2004
    Location
    Ukraine
    Posts
    170

    Re: How to open a txt file when we click on DataGridView in Visual Studio 2005

    Try to implement dataGridView1_CellClick event
    God could improve essentially a
    human nature, but he
    was too anxious with compatibility
    with the monkey.
    (Eugeny Goldberg)

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

Featured