516 Posted Topics

Member Avatar for priyanka9

you need to use dataview and filter the dataview with dataview.rowfilter method and bind the result back to the grid.

Member Avatar for Pgmer
0
221
Member Avatar for pratik65

You should truncate the table to get the ID back to 1. If the Id column is set to increment seed.

Member Avatar for Reverend Jim
0
188
Member Avatar for themaj

Check before cmd.executeNonQuery on ds.Tables(0).Rows(iRows).Item(5) & "," & ds.Tables(0).Rows(iRows).Item(6) & " What ur getting at these items...

Member Avatar for Reverend Jim
0
206
Member Avatar for foreverangel02

check you have the proper sqlnet.ora and tnsnames.ora files. And make sure these file have the connection properties to your server. And for connection string you can refere the link [Click Here](http://www.connectionstrings.com/)

Member Avatar for Pgmer
0
292
Member Avatar for dearjoy
Member Avatar for Pgmer
0
165
Member Avatar for tinu28
Member Avatar for TnTinMN
0
106
Member Avatar for ashvyas
Member Avatar for kjk86

Use list or or Array to hold Dim sList as new list(of String) you must use the loop here something like below For i as integer=0 to DataGridView1.rows.count-1 sList.items.add(DataGridView1.rows(i).item("Column index or Name")) Next *Note:The above code is not exact code or syntax.. Just an idea to start with...*

Member Avatar for Pgmer
0
220
Member Avatar for jhedonghae

Use datetime picker and set as you need to get only date or time. Show the selected time in text box. Is this what you were expecting?

Member Avatar for Codefiva
0
191
Member Avatar for consc197
Member Avatar for consc197
0
3K
Member Avatar for paoi00

Why are you doing select * from if you only need Image from DB? and also check for the data after Dim dataTable As DataTable = dsImage.Tables(0).

Member Avatar for Pgmer
0
1K
Member Avatar for vivekanandaan

Please check your userDetailsTable wheather it is having rows? And the column ur selecting is exists? if exists the column name is correct?

Member Avatar for Pgmer
0
90
Member Avatar for drj08

Try somethong like this Dim cmd As New SqlCommand Dim ds As New DataSet Dim da As New SqlDataAdapter Dim conn As New SqlConnection("Ur connection") With cmd .Connection = conn .CommandTimeout = 3000 .CommandType = CommandType.text .CommandText = "SQL code" End With da = New SqlDataAdapter da.SelectCommand = cmd ds …

Member Avatar for dimasalang
0
2K
Member Avatar for mohana_61

If many rows in ur Gridview then loop through the gridview rows and Get the items from respective cells by using rows(passindex).item(column) this will give u the items you want run the update statement on ur DB.

Member Avatar for Pgmer
0
54
Member Avatar for themaj

U need to add the item to ur dt before setting the data and value member. or Edit ur Query to select All region as first item

Member Avatar for Pgmer
0
510
Member Avatar for cheekangteh

What is ur actual need? U want to keep checking for file exist or not all the time ur application is running?

Member Avatar for lebo.bytes
0
1K
Member Avatar for paoi00

I will try telling you one approch for this. When you load the combo 1 and after selection in combo 1, get all the data for combo2 in dataset and filter using dataview.rowfilter method and bind the selected record to ur combo..

Member Avatar for paoi00
0
158
Member Avatar for themaj

Try Declare ds as new in public declaration or instantiate again in the sub where ur using the DS. If you instantiate it will be a new dataset you will loose the data in it.

Member Avatar for themaj
0
196
Member Avatar for ayat abukhadra

You selected the project type as ClassLibrary? What did not work for you?

Member Avatar for ayat abukhadra
0
100
Member Avatar for gabrielino

Get the number of textboxes wanted, And loop through the count from 0 to count-1 or 1-count, Then me.textbox.add give the names to the textboxes.

Member Avatar for Reverend Jim
0
184
Member Avatar for fRodzet

If you design your winform using XAML you can have resolution independent screens as everythnig goes into Grid and cells, And the application looks more pretty using WPF. If you need good loooking forms then go for WPF. :) its bit complicated to design in XAML though. And also you …

Member Avatar for fRodzet
0
211
Member Avatar for bcd16

You mean to say if one user is using the form1 to input the data the other user should not be able to use the form1?

Member Avatar for bcd16
0
281
Member Avatar for ayat abukhadra

Yes.. I agree. It might take some time to rewrite but its worth. You can identify which piece of code you dont need module wise and start writing in better way. No tool can simply converts vb6 to vb.net.

Member Avatar for TnTinMN
0
499
Member Avatar for mohana_61

Write a method or function which accepts the parameter of ur combotext, In the method or function write a code which connects to DB and fetches the records from DB based on the parameter. Call this method or function in selected index changed event of combo. Hope this gives you …

Member Avatar for mohana_61
0
295
Member Avatar for HibaPro

have clear thought what the software should do for you. And then have the design and then go with coding. Dont jump to code first.

Member Avatar for HibaPro
0
119
Member Avatar for fritafana

I guess the problem is in `oSQLConn.ConnectionString = "server = localhost; user id = root; password = chris; database = retail;"` please check this.

Member Avatar for artemix22
0
192
Member Avatar for shena

what you mean by like excel here? you want to have filter like excel filter? or just filtering the records in grid?

Member Avatar for V0lcan1c_A5h
0
1K
Member Avatar for jhusthine
Member Avatar for akasekaihime
-1
112
Member Avatar for brylle

Are you using any database? If yes Then have a unique column in DB and get the values from DB anad attach to grid view column.

Member Avatar for artemix22
0
614
Member Avatar for opman234

Easy way is to have text file inside the remote folder and keep writing the count every day and check for the count in each log in and after 30th day block the application. Need to take that text file should be encripted and should not be easily accessable to …

Member Avatar for G_Waddell
0
221
Member Avatar for tman55588

Try installing framework4 seperatly. and uncheck the option of framework when u installing the VS2010. you myt be having corrupt files.

Member Avatar for G_Waddell
0
166
Member Avatar for HibaPro

If your loading the data from DB then you must call the function or method which you used to bind the records to grid.

Member Avatar for Pgmer
0
91
Member Avatar for Jake.20

You can call the web page in webbrowser control by passing the URL.. See more about webbrowser control in net.

Member Avatar for Jake.20
0
307
Member Avatar for Stuugie

Jim I agree with you as stuugie.. I liked the way you explained solution with explaination. Hope you give such technical explanation in your solution in the threads you reply.

Member Avatar for Reverend Jim
0
295
Member Avatar for jerviejeb
Member Avatar for rutuja8

Please post your code what you have so far so that people can see and help you on that.

Member Avatar for rutuja8
0
162
Member Avatar for HibaPro

U need to looptrhough each row of grid to get the values and prepare the insert statement and pass these values and execute the command.

Member Avatar for HibaPro
0
220
Member Avatar for Gé48
Member Avatar for swathys
Member Avatar for Pgmer

Hi All, Any one can help me how to use TAPI to control the IP phones? How to get started with? What all i should install and configure? I searched in net before posting it here but its too confusing for me. As this is my attempt in this area.. …

0
75
Member Avatar for HibaPro
Member Avatar for themaj

Cant you prepare the Select statement with Joins and UNION at database side? And just get the result set what u need...

Member Avatar for themaj
0
2K
Member Avatar for HibaPro
Member Avatar for Oneryavuz

Why you need webbrowser to select a file from local path? What is the actual need? Web browser control is used to view any web page within the application not to open any file.

Member Avatar for Pgmer
0
138
Member Avatar for Sneaky Pete
Member Avatar for agnair

What you mean by current values? You can loop though controls and clear the contents. for example For Each cntrl As System.Windows.Forms.Control In Me.Controls If cntrl.GetType.ToString = "System.Windows.Forms.TextBox" Then cntrl.Text = String.Empty End If Next I am clearing all the textbox content to blank in form. Likewise you need to …

Member Avatar for Netcode
0
278
Member Avatar for HibaPro

add 0 to FixSumPer if null using `IIf(IsDBNull(DataGridView1.Rows(i).Cells(9).Value), 0, DataGridView1.Rows(i).Cells(9).Value))`

Member Avatar for Gé48
0
66
Member Avatar for AnkitGuru

Try something like below. I am assuming you will be knowing the sheet name Dim objExcelworkbook As Microsoft.Office.Interop.Excel.Workbook Dim objExcelActiveSheet As Microsoft.Office.Interop.Excel.Worksheet objExcelActiveSheet = objExcelworkbook .Sheets("TestPage") objExcelActiveSheet.Activate()

Member Avatar for G_Waddell
0
1K
Member Avatar for rutuja8

Sorry not understanding your question properly. What you want to do? Data created in database using website you want to show on vb form? or you want to open website from vb form.

Member Avatar for G_Waddell
0
171
Member Avatar for opman234

Have application config file and mention your connection string. I hope your database is hosted on server and you know the server name and your application can ping to DB.

Member Avatar for G_Waddell
0
167

The End.