I already bound the grid with datatable and the result reflect in my datagridview control. And I saw the columns and rows. Do you mean I need to create set of columns and bind it with datatable? Thank you very much to your reply.
Jack Brando
Posts
-
Problem with DataGridView -
Problem with DataGridViewGood day! I have a problem using DataGridView. Here's my code. Public Class MyLibrary Private _dgv As DataGridView Private _recordBLL As RecordBLL Private _dt As DataTable Public Sub New() Me._dgv = New DataGridView Me._recordBLL = New RecordBLL Me._dt = New DataTable Me._dt = recordBLL.PrincipalMember Me._dgv.DataSource = dt '********* Error is displaying here ******** With Me._dgv .Columns(0).Visible = False .Columns(1).Width = 200 .Columns(2).Width = 600 .Columns(3).Width = 150 .Columns(3).DefaultCellStyle.Format = "MM/dd/yyyy" End With End Sub ReadOnly Property MyDataGridView() As DataGridView Get Return _dgv End Get End Property End Class And I encountered this error. "Index was out of range. Must be non-negative and less than the size of the collection." But the data is displayed in the grid. Pls. help me. Thank you in advance.
-
MS Access Connection Stringtry this... Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\server_name\db_folder\Your_Database_Name.mdb;User Id=admin;Password=;
-
MS SQL Server Multiple Roles per UserHow to create a user with multiple roles or groups in TSQL? Your help is really appreciated.
-
Multiple Projects in a solution using visual sourcesafe [modified]We are integrating different systems into one solution, each system is consisting of one project and we are using source safe to maintain our codes. we are having problems in downloading one project for each programmer, how can we distribute each project without downloading the whole solution. for example, we have 2 programmers and 2 dependency projects, let's say programmer A and programmer B, project A and project B, respectively. Those projects are dependencies of project C. We are avoiding each programmer to download both project A and B.
modified on Thursday, February 7, 2008 10:10 PM
-
Multiple Projects inside Visual SourceSafeI have a problem on how to distribute different projects to our programmers using visual sourcesafe. Our IDE is visual studio 2k5. Can you help me, please...