408 Topics

Member Avatar for
Member Avatar for Mohammad_21

Hello I want to print some data that appear in Form. I print some data( image, labels....) then at point y = 415, I will print all rows of datagridview, at here all is right, but when i want to print rows that need more page, i had wrong result, …

Member Avatar for Hossein_7
0
641
Member Avatar for Anugerah

How to using special character "[""]" to get value of cell datagriview. Like this [column name], and then the value will be show in the textboxt. Please help

0
62
Member Avatar for Farwa_3

I want to filter the datagridview on Search button click,i am using 3-tier architecture,the grid should be updated with the search result

0
17
Member Avatar for kim_boto

I have a Datagridview with two columns. First one is Marks of the student and second one is grade. When I enter marks in Datagridview I want the grade column to automatically fill the respective grading system value. Greater than 80 - A Greater than 60 - B Less than …

Member Avatar for rproffitt
0
104
Member Avatar for HibaPro

hi everybody , my Question is , how i can get the last row in my datagridview thanx in advance :)

Member Avatar for Leonardo_13
0
3K
Member Avatar for SoftBa

Hi guys, I have one question about Visual Basic and DataGridView behaviour. So, after I type all the text boxes and click on button (save data), I would like user to get focus on that new data. Now, each time button is clicked, DataGridView goes on a first row. New …

Member Avatar for SoftBa
0
239
Member Avatar for Gerard_1631

Good afternoon, I'm haven't coded in a very long time, and now I have some time in my life I'm actually coding a Quiz application in vb.net using ms access for the question/answer database. This project is what the student will see when their taking the test, and my issue …

Member Avatar for Reverend Jim
0
109
Member Avatar for Afrah

Write the main such that it reads two integers: Start and End and calls the void function of part ‘a’ in order to print the average of integers divisible by 3 in the range: [Start..End].

Member Avatar for rproffitt
0
43
Member Avatar for Satyam_1

Hi, i want to total the values in column9 in Patientdatagridview to a textbox1. here is my code but it displayes each value, not the total. e.g. if values are 200, 200, 200 then it should display 600 but here it says 0200200200 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar for Nour_4
1
13K
Member Avatar for tonycoleman

Hi All, I dont know if anyone could help me, I am going slightly mad. I have been following some online demos of creating a simple application using VB.NET / Visual Studio and MYSQL database. I have setup the MySQL database and that looks fine, I would like it to …

Member Avatar for pritaeas
0
49
Member Avatar for Charlie_13

Python program that will 1)Define a single point for the red/green dot near the supposedly enemy territory; 2)Define a subset A of your DEM raster image towards the friendly territory; 3)Calculate the line of sight for each pair (of observation pixel to target pixel); 4)Sum the total number of green …

Member Avatar for rproffitt
0
47
Member Avatar for ferrerjulie
Member Avatar for hakim_8

I have some problem with my code, i can fetching data from database perfectly fine without any freezing, but after the fetching finish and i want to add the fetched data into grid view, the program will freeze even though i already input the code inside background worker. Here is …

0
482
Member Avatar for ddanbe

OK, not completely, I admit. I used some different colors(colours) here and there. But this code will put you on the way. This is a little modification of code I use to show a matrix in a form. Just start a new Forms app and fill in the code. Enjoy!

Member Avatar for jessechunn
2
4K
Member Avatar for Andrei_11

Hello all! I have an excel file that looks like this: Time of Day Lap Lap Tm Speed 14 - Stoicescu Dan - Regularitate Coupe 9:40:50.835 1 2:47.462 88.763 9:43:37.584 2 2:46.749 89.142 9:46:33.319 3 2:55.735 84.584 9:49:58.901 4 3:25.582 72.304 9:53:13.988 5 3:15.087 76.194 9:55:50.639 6 2:36.651 94.889 9:58:49.884 …

Member Avatar for Andrei_11
0
504
Member Avatar for pROKO

I programmatically edit my datagridview cell values. I use the vertical scrollbar to find the row I want to edit, select the row then click an edit button that takes me to another form where changes to the record are made. I then click a button which saves the changes …

Member Avatar for Trần Hoàng Sơn
0
5K
Member Avatar for Georgi_1

Hello, Can someone assist me how to create here buttons - Button7 - First - Button5 - Next - Button6 - Previous - Button8 - Last To search in database and display the results. Here is my project until now: - Also if there are mistakes or suggestions to make …

Member Avatar for SoftBa
0
360
Member Avatar for chris_58

can someone help me take a look i face (oledbexception was unhandled (too many fields defined)) below is my code . Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click Properties='Excel 12.0;HDR=NO;'" Dim Chosen_File As String = "" If openFileDialog1.ShowDialog() = DialogResult.OK Then Chosen_File = openFileDialog1.FileName End …

Member Avatar for pritaeas
0
310
Member Avatar for Bishop_1

Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,)

Member Avatar for Bishop_1
0
1K
Member Avatar for Randy26

Identify if the following variable names and declarations are valid or invalid in writing program code visual basic 2010 1. intStud_no 2. Total weight 3. First name= Tin" 4. dblTotal 5. _index 6.qty=25 7. Ave=84 8. intProduct id 9. Int a=12 10. _xyz

Member Avatar for Reverend Jim
-2
246
Member Avatar for steven8579

I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that …

0
342
Member Avatar for JModak

hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size …

Member Avatar for Reverend Jim
0
3K
Member Avatar for fugio

Hi all I have a script to update the value from datagridview to database I do use a button insert ToolStripButton but not working hope people to help thank ! Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load conn = New SqlConnection("") conn.Open() Dim query As …

Member Avatar for Amudhambika
0
4K
Member Avatar for virusisfound

I was working on C# windows application as front end and SQL as back end I have display my sql table data in dtatgridview. [B]I want to display the data in textbox whatever row i select in datagridview.[/B] I have write some code but its not showing data in textboxes. …

Member Avatar for pritam_4
0
5K
Member Avatar for devfeel

I have developed a sniffer code in C language. Now i am creating user interface for that. I am using visual C++ to design user interface. Once the program starts it stores each packets ip address, port number , protocol type ,time etc in respective variables. Now i want to …

Member Avatar for k_8
0
2K
Member Avatar for dilse4sk

Hi every one. I am having some problem with calculation in datagridview. i have 3 columns in datagridview which are Date,location,Payment. What i want to do now is i want to calculate the total of the payment and my total is a textfield out side the data gridview under the …

Member Avatar for geetha_3
0
828
Member Avatar for xrjf

Suppose we need to populate and filter a Datagrid with the data coming from an Access table. It could be of course a table from Sql Server also. Form dataGridSelect contains two buttons and a DataGridView. Clicking the first button will populate the DataGridView the data comming from a Sql …

0
355
Member Avatar for nadiam

Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | …

Member Avatar for tinstaafl
0
409
Member Avatar for nadiam

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question was already answered. This is the result of previous question answered : code for the listbox - datagridview interaction At the top of the code …

Member Avatar for nadiam
0
607
Member Avatar for nadiam

Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order. btn_addline : Private Sub btn_addline_Click(ByVal …

Member Avatar for nadiam
0
613

The End.