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...
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...
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
The other contains a list of categories like this.
id | name...
VB.NET newbie... I am using VB.Net 2005.
I am using this expression to read from csv files, but I am finding that cells that have no data are being missed instead of a blank column being inserted.
Dim re As Regex = New...
Ok, I am stuck now.
I managed to do everything i need to print but my program seems to lockup when printing multiple pages.
I started with this code.
-= PrintDocument_PrintPage Section =-
Dim g As Graphics = e.Graphics
Dim message As String = Nothing
For Each item As String In lstBox.Items...
If i have a list of string like this;
000.000.000.000 <1 space> www.msn.com
000.000.000.001 <3 spaces> www.something.net
000.000.000.002 <2 spaces> www.new.co.uk
000.000.000.003 <3 spaces> www.new.co.uk
ETC. Note the space are actual spaces in the real thing, the number showing how many...
I found this code for changing the url or a webbrowser created in VB.NET 2003. The problem is its not compatible with VB.NET 2005, atleast I cant seem to get it to work.
AxWebBrowser1.Navigate("http://www.microsoft.com", nullObject, nullObjStr, nullObjStr, nullObjStr)
Please could someone...
Can someone explain this warning message to me please?
"Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
It is caused by this bit of code.
If OpenFileDialog.ShowDialog() = DialogResult.OK Then
I have written this code which does work, meaning no erros, but i dont have the knowlege to work out where it does not remove duplicates from my list.
Please can someone help me out?
' Check for Duplicates
Dim itemsArray() AsString
' get number of items in list.
Dim ItemCount AsInteger =...
Sorry for the newbie question. I am trying to learn the ins and outs of vb.net 2005.
How do i copy the whole content from one list box to another?
I manager to do it with one item, but I dont understand loops enough to work out how to do all items.
any help welcome.
How do you remove the column that is automatically created on the left side of a datagridview box?
I know I would use a listbox to create a list of items, but i want to add an icon to the entries.
Unless anyone knows a way to put icons in listboxes.
I am using VB.Net 2005
I don't fully understand vb.net yet and now I have come across this strange error.
I have a form and i dragged the table from the data source panel to the form. Then when vb.net 2005 creates all the normal things, etc, errors come up on the bottom saying that cartbasedataset is not defined...
Does anyone know any really good tutorials, books, site, etc for vb.net.
I am mainly interested in data handling, but being a newbie anything with good details would be more then welcome.
I am looking to get deep and dirty with .net
Please can you guys and gals suggest any?