Search results for query: *

  1. D

    DevExpress GridControl (How do you get the datarow?)

    Oh god, many thanks. I can't believe I missed those tutorials. Doh! I came up with this as a test and it works perfectly. Dim row As System.Data.DataRow = GridView1.GetDataRow(GridView1.FocusedRowHandle) MsgBox(row.Item(1)) Thanks
  2. D

    DevExpress GridControl (How do you get the datarow?)

    Hi, I have just found out about the DevExpress XtraGrid control, thanks to the wonderful review on this site. I have been playing now for a few hours and I have managed to fill the gird quite easy, but I cant get the datarow that I have selected. How do you get a datarow from a GridControl...
  3. D

    Thanking about doing MCTS then MCPD, is it worth it?

    What you you guys think to the MCTS and MCPD courses by Microsoft? Are they worth doing if I want to get out of the hardware section and into programming? I have been using .NET now for about two years as a hobby and would like to turn it into a career. Thoughts, comments, anything?
  4. D

    Making A Syntax Highlighter

    I am working on a program that will highlight words in a richtextbox a colour to show functions, commands, etc. The language of the files it opens are FPI file, this does not matter as long it is custom enough to allow me to define the words and colours. I found this, which works perfectly...
  5. D

    DataGridView Combo Box (Can it update others)?

    Well right now it has about four products. But it may have more depending on what gets added by others later. I would guess more then 20 products is very likley. I am a total newbie with this. How should I be making a purchase gird of some sort? Are you saying more then twenty products can't...
  6. D

    DataGridView Combo Box (Can it update others)?

    Damn my newbie talking ways...hehehe Ok let me see if I can explain this a little better. Rather then having a datagrid that the user can type in, I am trying to let them choose the product from a drop down list (which is part of the datagrid). Then once the product is selected (so sort of...
  7. D

    DataGridView Combo Box (Can it update others)?

    I am really sorry I was in a rush to get home from work. Ok, here the story. I have a datagridview that is using a dataset that gets filled from a mysql database. I have told each column, which I manualy added to the datagridview, what it should contain. So the first column which is product...
  8. D

    DataGridView Combo Box (Can it update others)?

    I have a datagridview that gets data from a dataset. You basically select a product from the drop down combo and then is should update the boxes next to it with price, etc. Can this be done? I can select a product but nothing happen in the boxes next to it.
  9. D

    OLEDB Access to CSV, Can the Deliminater be changed?

    Many, many thanks, your a star.
  10. D

    OLEDB Access to CSV, Can the Deliminater be changed?

    Hi, I am accessing a CSV file via OLEDB and I am using the connection string below. ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Path & "\;Extended Properties='text;HDR=No;FMT=Delimited\'" My question is can the deliminater be changed from comma to a semi-colon?
  11. D

    DataGridView (With Relational Data)

    Oh right. I see. So what visual studio puts together is just the basics to get you started. Thank you
  12. D

    DataGridView (With Relational Data)

    Hi, If I create a form and add a datagridview object by dragging it from my datasource and having visualstudio create everything, if the database its coming from (mssqlexpress) has tables that are linked to each other it never saves the linked data from datagridview when i combine it with...
  13. D

    http://www.learnvisualstudio.net/ Review

    What do you all think of it? I am thinking on joining and want some user reviews. I want to learn vb.net and maybe asp.net/ajax Thanks
  14. D

    Replacing values in table with other vaules

    Out for interest I came accross this artical on Google while search for typed datsets. In your professional opinion, do you think its a good way to do things because I was planning to use it to try and create two tables to import my csv and then use relation ships and keys from table to table to...
  15. D

    Replacing values in table with other vaules

    Ok, also got it. My code so far.. If TextBox2.Text <> Nothing Then DataSet1.Tables.Add(CSVtoDatatable(TextBox2.Text, "CATEGORIES")) DataSet1.Tables.Add(CSVtoDatatable(TextBox1.Text, "PRODUCTS")) Dim matches() As DataRow For Each ro As productsDataRow In DataSet1.products.Rows matches =...
  16. D

    Replacing values in table with other vaules

    Oh my god you are a genius and your description are wicked. I cant thank you enough. I will post my results back and again many, many thanks for your help and the exercise.
  17. D

    Replacing values in table with other vaules

    Thank you for your reply. I am still new to VB.net and dont quite understand. From you code I have this but the parts in bold I am getting errors. Please could you explain them to me? ERRORS ------- 1. c1 is not a member of system.data.datarow 2. c1 is not a member of system.data.datarow 3. c1...
  18. D

    Replacing values in table with other vaules

    Ah.. Sorry. I am working with csv files which I have imported into a dataset. I want to modify the data layout and then export back to csv for upload to my site. I am building a util that helps me sort items into the right categories. Thanks
  19. D

    Replacing values in table with other vaules

    Hi, I have a dataset with two tables. One contains a list of products similar to model | name | description | price | c1 | c2 ------------------------------------------ x | y | z | 99.99 | 1 | 1 etc.. The other contains a list of categories like this. id | name...
  20. D

    RegEx on CSV missing data (Why)

    Here is a sample line from my csv. "27.01218.201","ACER","ACER COMMERCIAL","ACER NOTEBOOK POWERCABLE UK3PIN","3.00","0","","","0.000","2.54" What i need to do is change my regex so that i can capture "" fields and return them as empty strings. I found this This works well but misses...
Back
Top