DataBinding to a Sequential File

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default DataBinding to a Sequential File

    I am new to vb.net and I am running into problems understanding
    DataBinding and its concept. The only examples I find are always
    talk about Web design, I only want to use this data on my
    standalone computer. So my question is:

    I have a sequential file that contains data, is there a way to
    load this data into a DataGrid control?

    If the answer is yes, then how do I accomplish this?

    I am using vb.net the standard version 2002.

    Thanks

    Tom


    Tom McLaughlin Guest

  2. Similar Questions and Discussions

    1. DataGrid Custom Column Error when DataBinding "does not contain a definition for 'DataBinding'"
      I am creating a custom column that inherits from DataColumnGrid. When I attempt Databind to a property of the custom column, I get the the error: ...
    2. sequential functions?
      I'm trying to make one function go right after another function finishes. For example, say I have an EaseTo function (which would make an MC ease to...
    3. Create Sequential Numbers
      I have an imported database with a number field which is now empty. I would like to populate this field with sequential numbers to use for...
    4. File names with sequential numbering
      I have been sent a large number of files with descriptive file names. I would like to rename these files with a filename of "Prefix + sequential...
    5. How to add a sequential number to a form
      In article <bel3dj$g6i$1@ftp.curtin.edu.au>, "gwmbox" <gregatwork@NOSPAMPLEASEhotmail.com> wrote: guess noone else is gonna answer this, so...
  3. #2

    Default Re: DataBinding to a Sequential File

    "Tom McLaughlin" <tbmcl@cwnet.com> wrote in message
    news:uvTam0o8DHA.1936@TK2MSFTNGP12.phx.gbl...
    > I have a sequential file that contains data, is there a way to
    > load this data into a DataGrid control?
    >
    > If the answer is yes, then how do I accomplish this?
    >
    Is your sequential file structured? Comma delimited, tab delimited, or
    fixed length fields in every line? If so you might be able to use the MS
    Text ODBC driver to read in your file using a DataConnector for the ODBC
    driver, then fill the DataSet and bind it to the DataGrid.

    If your text is unstructured you'll have to set up a StreamReader to read
    the file and parse the lines of characters into rows and columns in a
    DataTable, then bind the DataTable to the DataGrid.
    Jack Peacock


    Jack Peacock Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139