DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: DataGridView

  1. #1
    Join Date
    Feb 2012
    Posts
    2

    DataGridView

    I want to add a DataGridView to my Visual Basic Project.

    Code:
              Using conn As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\path\Database1.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True")
                    Using conn as SqlCommand = New SqlCommand("SELECT * FROM table1;", conn)
                         conn.Open()
                    End Using
            End Using
    I dragged DataGridView onto Form1.vb.

    This is as far as I got.

  2. #2
    Join Date
    Jul 2004
    Posts
    364

    Question Datagridview....

    What are you trying to do?

Similar Threads

  1. Replies: 2
    Last Post: 01-15-2010, 05:07 AM
  2. I need help with datagridview
    By COMPCAD in forum .NET
    Replies: 5
    Last Post: 12-03-2009, 07:25 AM
  3. DataGridView - How do I...
    By Wiseman82 in forum .NET
    Replies: 2
    Last Post: 05-02-2008, 05:51 PM
  4. datagridView
    By Fafeman in forum .NET
    Replies: 1
    Last Post: 04-22-2007, 02:49 PM
  5. Datagridview Help
    By scott0_1 in forum .NET
    Replies: 3
    Last Post: 04-09-2007, 05:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links