408 Topics

Member Avatar for
Member Avatar for Hazuan Nazri

Hello Friend, i hope someone can help me to solve my problem, i already put my database on datagridview, but my boss dont want it in standard color, so now i dont now how to change it, can i change the color using datagridview or i need to use another …

Member Avatar for Hazuan Nazri
0
425
Member Avatar for ddanbe

Btw. this is not a sudoku solver. To gain a deeper insight into the workings of the DataGridView beast (but I begin to love and appreciate it) I decided to make myself a sudoku layout with it. Start a forms app. Make the form a bit bigger and fill in …

0
1K
Member Avatar for ScarWars9

Hello, I have been working on a time clock application, and I'm trying to be able to select an employee from the DataGridView and populate their information into text boxes. I have done some research and what I have found works . . . sometimes. So sometimes when I click …

Member Avatar for ScarWars9
0
2K
Member Avatar for Gobble45

Hi there, My issue: I have a datagridview and a DB file with ~100 columns and ~200 rows of data. This data is imported to the DGV onLoad(). Once i have the data i run a script that searchs a predefined(by the user) folder for text files. Each text file …

Member Avatar for Gobble45
0
2K
Member Avatar for animo

i want to edit a form with datagridview show the colomn index but there is an error message show that index is out of range ........... parameter:index. how to solve the problem ??? can you help me please?? thank you.

Member Avatar for RvSon
0
83
Member Avatar for reedone816

I have limited knowledge in coding. can anyone tell me what is worng with my code? the firstrow result in the database is not updated, but it is updated in datagridview. For i As Integer = 0 To DataGridView1.RowCount - 1 DataGridView1.Rows(i).Cells(11).Value = "true" Next SmsdDataSet.AcceptChanges()

Member Avatar for reedone816
0
430
Member Avatar for wlhj1

I am trying to do a search on a datagridview from a string the operator enters into a textbox. I am searching the datagrid view on a sorted column of last names. I do not want to filter the datagridview. I would like the operator to be able to search …

Member Avatar for G_Waddell
0
1K
Member Avatar for sundog1

Hi Guys.. Can any experts in Excel/C# Help me with this one? I think I'm nearly there. Currently I have a DGV on a windows form which pulls data from a Datasource. I want to export the findings to and Excel report template. I've managed to export the data into …

Member Avatar for Ketsuekiame
0
371
Member Avatar for NidhiSree

Hi, I have a custom combobox (say ComboExt). I need to host this control in datagridview. In MSDN (http://msdn.microsoft.com/en-us/library/7tas5c80.aspx), they are saying, to host custom controls, my own column types with cells should be created. That is, I need to create a custom ComboExtColumn derived from DataGridViewColumn and all properties …

Member Avatar for NidhiSree
0
376
Member Avatar for paulablanca

I have a datagridview and I want to pass some of its value to another datagridview after selecting the values and clicking a command button. Is there any possible ways for me to do it? Thanks! God Bless. :D

Member Avatar for arun1123
0
4K
Member Avatar for kaizen202

I have hosted my custom combobox (ComboBoxEx) on datagridview by following the steps in http://msdn.microsoft.com/en-us/library/7tas5c80.aspx. 1. I have created DataGridVIewComboExColumn derrived from DataGridViewColumn 2. Custom cell named "DataGridVIewComboExCell" is created from DataGridViewCell 3. Finally my custom edit control "ComboExEditCtrl" (derived from ComboBoxEx and implements IDataGridViewEditingControl) is created. 4. In ComboExEditCtrl, …

0
85
Member Avatar for hirenpatel53

Hi all I have Placed One Custome button on Grid Withe refference of the location of rows depending on certain condition everi thing working fine but whwn rows increase and we need to scroll grid at that time button stay fix with its location for fixing this error i write …

Member Avatar for papu.shankar
0
281
Member Avatar for kazekagerandy

i am working on an application and i need to have an update feature, but when i try to refresh the contents of my datagridview to view the update ive made, the old and updated records kept on stacking. ive already tried the datagridview.datasource = nothing but nothing happened. this …

Member Avatar for M.Waqas Aslam
0
151
Member Avatar for zuni786

Hi First of all i would like to say is, i am a fresher to this vb.net.. having one project in hand. But as i dont know the code for using a datagridview i am asking your help. In my sqlserver table "EmployeeDetails" we have so many columns. In that …

0
147
Member Avatar for ChrisHunter

Now then, It's not often I start a thread but I'm struggling to find the answer after a lot of tries on Google. The issue is that I have a "Profession" comboBoxCell as well as a "Discipline" comboBoxCell which is populated/ repopulated with a short list of disciplines dependent on …

Member Avatar for james6754
0
2K
Member Avatar for kindofsudden

I have a datagridview bound to a datatable and it works great. However, when I try to programmatically change the datasource property to a different existing table, I get a blank datagridview with no cells. Although I have tried many bits of code to remedy the problem, this is the …

Member Avatar for kindofsudden
0
287
Member Avatar for Mirfath

Hi! I am designing a form which contains a datagridview which can display all customer orders. I also have a button inside the datagridview so that if a user clicks the button it will open another form which contains the items which the customer ordered in a datagridview. I am …

Member Avatar for pritesh2010
0
1K
Member Avatar for kaizen202

Hi All, Is there any event to catch the column visibility change of datagridview? I am using a custom datagridview. I need to update the horizontal scrollbar maximum value whenever the column visibility is changed. Please provide some idea. Thank you.

Member Avatar for kaizen202
0
465
Member Avatar for khair.ullah

Thank all you for last replies here i hve a problem in my project . I have 2 form . In frm1 i have a datagridview which contain all information of student i.e ID, NAME , CLASS No. , ADDRESS , Department and course . In this form i hve …

Member Avatar for khair.ullah
0
1K
Member Avatar for bprosic

I have 2 datagridview (later- dgView), textboxes and some buttons. Everything is bounded and connected with MS Access db. The tables in db are related!! 1st dgView contains Name and Surname table. 2nd dgView contains Details. Now, how can I disable a delete button when datagrid is empty. I'm using …

Member Avatar for Icone
0
3K
Member Avatar for yousafc#

AoA I am Inserting Data From DataGridview to Sql2005.It Insert Perfectely. The Problem is that when i insert record it alway insert 0 row with my other rows The Code is below try { string con = "Data Source = FLOWER-PC;Database = MYFIRSTDATABASE;Integrated Security = True"; SqlConnection cn = new …

0
90
Member Avatar for DelilahDemented

I am trying to change the color of individual cells in a datagridview based on values from the columns. If the CDRGvalue is not blank and the ALOSvalue is greater than the PLOSvalue then I need to change the individual cell back color for the ALOS column (colALOS) and the …

Member Avatar for Reverend Jim
0
312
Member Avatar for pratik65
Member Avatar for pratik65
0
550
Member Avatar for kjk86

Hey there! You guys have been extremely helpful, thank you. I have a question regarding the DataGridView. What I'm trying to do is take all the values from one column of a DataGridView and put that in either an array, textbox, anything. So far, I have only been able to …

Member Avatar for Pgmer
0
217
Member Avatar for mohana_61

hey, i need to insert a row into datagridview meanwhile it has to be updated in the database(backend) using oledb. thanks inadvance

Member Avatar for Begginnerdev
0
157
Member Avatar for compulove

Hello! I need helping using the DataGridView in vb. This needs to show the degrees from 2001 and 2003. I displayed some examples also! The things this needs to display are the following: 1. Display degrees in alphabetical order by field of study. 2. Decreasing percentage of those enrolled for …

Member Avatar for AndreRet
0
164
Member Avatar for srm2010

Here I am Sending you my code ,wherein I want to have total of examfees(column),PromotionFees(column),Totalfees(column) and Balance(column).Examfees are paid in installment in my project The idea if single record is found then it doing calculation of balance=promotionfees-totlafees and if anywhere due to mistyping is value is higher then the respectively …

0
435
Member Avatar for srm2010

I am trying to update column having smallmoney datatype through datagridview and then clciking update button. I am not getting any errors but data is not updating at all.Is it becos of datatype problem?Other columns are getting updated. Can any one tell me what is a problem? Thanks in advance...

Member Avatar for nmaillet
0
65
Member Avatar for urielar1

Hello, my code is not transferring the selected row data into the targeted text boxes on the other form when i click or select the row, i need help here , that the code Private Sub DataGridView2_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView2.CellContentClick If Me.DataGridView2.CurrentRow.Selected = True …

Member Avatar for urielar1
0
106
Member Avatar for hazelmayt

i'm just a newbie in dealing with master details in datagridview. i have a two datagridview. first is the employees record and the other one is file(which contains the file path of csv files). my backend is ms access database.one database with two tables. Now, when im going to click …

Member Avatar for hazelmayt
0
255

The End.