CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2001
    Location
    Islamabad , QAU,Pakistan
    Posts
    61

    Question how to change row color in datagrid

    Hi

    I want to change row back color in datagrid control. I think there is no method available to change row color. The only is to alternativerowcolor method.
    Can anybody tell me ,how to change the color of a particualr row in datagrid using vb.net.

    Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    Lahore
    Posts
    31

    Re: how to change row color in datagrid

    AA
    As far as i have knowledge aboput datagrid, you will have to desgin datagrid yourself. I am sending you a small program in VB.net, i hope it will help you. You will have to do one thing that before executing this application create Access database db1 :
    C:\db1.mdb"
    then run this application.
    Remember it is written in VS.Net 2003.
    Remember this is compressed in winrar

    Best of Luck

    Asad Naeem - QAU, Islamabad
    Attached Files Attached Files
    May Allah keep this world Peaceful. (Aameen)

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