Results 1 to 2 of 2

Thread: view datagrid

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    view datagrid

    i have this sql
    select emp_no, lname as "Last Name",fname,mi,date_hired,code,address from tblInfo;

    i want to view only emp_no, lname,fname,mi, and date_hired in datagrid
    with specified column width example: emp_no = 50 and lname=100

    how could i do that?

    tnx
    *****************
    VB6,PHP,VS 2005

  2. #2
    Fanatic Member Andy_P's Avatar
    Join Date
    May 2005
    Location
    Dunstable, England
    Posts
    669

    Re: view datagrid

    Take a look at this site: http://www.syncfusion.com/faq/windowsforms/Default.aspx

    It has a ton of good tips about the datagrid, and a lot else besides.

    Check out item 5.35 for column widths.
    Using Windows XP Home sp3
    Mucking around with C# 2008 Express
    while ( this.deadHorse ) { flog( ); }


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