Results 1 to 4 of 4

Thread: dataview problem

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    dataview problem

    In my VB.NET Project I have this code;

    Dim dv As DataView

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    OleDbDataAdapter1.Fill(DataSet11, "students")
    dv = DataSet11.Tables("students").DefaultView

    DataGrid1.DataSource = dv

    'to combo
    ComboBox1.DataSource = dv
    ComboBox1.DisplayMember = "Students"

    'But I encounter a problem.
    'The combobox lists all like this "System.Data.DataRowView"

    What should I do?

    Using dv as DataView, I dont know what code should I write to go to next or previous record?
    Kindly help me.. pls check the file I attached with this thread.
    Attached Files Attached Files

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