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)
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...
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?
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...
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...
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...
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...
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.
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?
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...
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...
Ok, also got it.
My code so far..
If TextBox2.Text <> Nothing Then
Dim matches() As DataRow
For Each ro As productsDataRow In DataSet1.products.Rows