Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Thanks Jarod,

 

I have try your suggestion but it seen cannot works.

 

Error Message Appear:-

 

" Additional information: Specified cast is not valid. "

 

Do you have any others idea?

  • Moderators
Posted

If you're not using a DAtaview, this'll get you satarted..

 

                   Dim sTable As String = "myTable"
                   Dim dt As New DataTable(sTable)
                   dt = ds.Tables(sTable)
                   Dim dv As New DataView(dt)
                   Datagrid1.DataSource = dv
                   dv.AllowDelete = False
                   dv.AllowEdit = False
                   dv.AllowNew = False

Visit...Bassic Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...