1 Replies - 198 Views - Last Post: 22 January 2014 - 07:47 AM Rate Topic: -----

#1 gentleman  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-January 14

datagridveiw in 2008

Posted 22 January 2014 - 01:36 AM

what errors in this code
Private Sub Filldatagrid()

minclass.Filldatagrid(DG, "select *From orders")
DG.Columns(0).HeaderText = "الرقم"
DG.Columns(0).Visible = "false"
DG.Columns(1).HeaderText = " حالة الطلب "
DG.Columns(1).AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill

End Sub
Is This A Good Question/Topic? 0
  • +

Replies To: datagridveiw in 2008

#2 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1030
  • View blog
  • Posts: 4,008
  • Joined: 02-July 08

Re: datagridveiw in 2008

Posted 22 January 2014 - 07:47 AM

Some odd things, so you need to explain more of whats going on here if you want help. The name of the sub is the same as a method inside the sub - thought it has parameters and the main sub does not - are trying to call this method from inside itself or is this a diff method?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1