Hi. I have a problem with an xml. I don't know how to read a piece o an xml. This is the xml: ; I don't know how to get the information from the Parametrii Sir. Maybe you have an idea. thanks
WhiteGirl23
Posts
-
xml in sql 2005 -
datagridviewcomboboxcellI have a datagridview with a comboboxcell.When I try to select an item in this column the mouse goes on the last item and I must find a way to make the mouse go on the first item. For example: the items in my comboboxcell are: "Month","Day","Year". The mouse goes on "Year" but I want the mouse to go on "Month". Thanks.
-
dbf fileHi, I have a problem with a dbf file. I can execute a sql statment("select * from dbf file") but when I try to put the information from the file in a dataadaptor I have this error:
ERROR [HY000][Microsoft][ODBC dBase Driver] Could not lock table ''; c Could not lock table ''; currently in use by user '(unknown)' on machine '(unknown)' .
I searched on Google about this error but I didn't find what I need. Thanks . -
determine selected index changed event of combo of datagridviewuse the event cellendedit. Dim indexcombo As Integer = 0
If e.ColumnIndex = 0 Then indexcombo = CType(Me.dgvTipuriColoane.Rows(e.RowIndex).Cells(e.ColumnIndex), DataGridViewComboBoxCell).Items.IndexOf(Me.dgvTipuriColoane.Rows(e.RowIndex).Cells(e.ColumnIndex).Value.ToString) End If valoareCombo = Me.dgvTipuriColoane.Rows(e.RowIndex).Cells(e.ColumnIndex).Value
where the indexcombo is the index you choosed in combo. -
datagridview eventhi, i have a question: What event is used to resize the column of a datagridview? thanks.
-
openofficeI want to export a file csv in a openoffice in vb.net. thanks.
-
openofficeI must import an excel in openoffice because openoffice is free and all the customers have this program. Any documentation about this subject would be welcome. thanks
-
datagridviewyes, but I don't have an idea. please give some script. thanks
-
datagridviewHi, I have a datagridview and on a column I have combobox. When I choose a element from combobox I want to find the index of this element. thanks.
-
error with .dbf filesit doesn't work. thanks .
-
error with .dbf filesThe problem is that I can connect to my database but I can't get the information from the file. The file A12_BLANK (the name of the file I want to insert in a table) is a excel file. thanks. -- modified at 8:43 Tuesday 11th September, 2007
-
error with .dbf filesHi,
I want to put an excel file in a table. I use this code: `Dim archivo As String = openFileDialog1.FileName FileDirectory = System.IO.Path.GetDirectoryName(archivo) FileName = System.IO.Path.GetFileName(archivo) DBFConnection = New Odbc.OdbcConnection("Driver={Microsoft dBASE Driver (*.dbf)};Dbq=" + FileDirectory + ";") DBFConnection.Open() Dim dr As New System.Data.Odbc.OdbcCommand("SELECT * FROM " + filename, DBFConnection) Dim dt As New Data.Odbc.OdbcDataAdapter(dr) Dim t As New Data.DataTable dt.Fill(t)` but I get the error : `ERROR [42S02] [Microsoft][ODBC dBase Driver] The Microsoft Jet database engine could not find the object 'A12_BLANK'. Make sure the object exists and that you spell its name and the path name correctly.` please help. thanks.
-
how to search string in different file and comment it [modified]Hi, Open the file usual but give right the path and search with regex. hope this help.
-
arraythanks. hope will work.
-
arrayexample: I have a string :
123#123.123#(local)
I split this string:array()=string.split("#")
I'm looking for a value on this array.I take (local) I found the position of this value:array((2). I want to move array(2) on the first position of the array,but I don't want to loose elements of the array,and the last position of the array must be=123. Something like this:string=(local)#123.123#12
3 Thanks. -
arrayno.isn't good. I want to keep all the values of the array. In array(array.length-1)=must keep the first position of the vector before I make array(0)=value1.
-
arrayHi. I have this code:
for i as integer=0 to array.lenght-1 if array(i)=value1 then var=true end if if var=true then .... next
I need to set the value1 on the first position of the array and the first position of the array must be set on the last position of the array. I don't have any idea. thanks -
Connect to sql serverIf you use Server Authentification use the name of your computer ,the user "sa" and the password that you set to sql server during the installation.
-
reading a string from a txt file & insert it in a database table?Hi, you can read the text in bytes and then insert the bytes (search on google:write blobs in database) in database. -- modified at 5:19 Thursday 23rd August, 2007
-
memorystreamthanks. I resolved the problem,now it works.