408 Topics

Member Avatar for
Member Avatar for lordcar

tables: T_THERA - is a transaction table Columns: ID - STRING MR - STRING ITEMCODE - STRING QTY - INT SIGNA - TEXT M_ITEMS - Masterfile of items Columns: ITEMCODE - STRING DESCRIPTION - STRING M_SIGNA - Masterfile of Signa Columns: SIGNACODE - String DESCRIPTION - String I have a …

Member Avatar for PerplexedB
0
274
Member Avatar for Trevor_3

Hi All I have to forms (frmMain & frmEditMonth). frmMain has a tabControl on the 12 tabs (1 for each month) and a datagridview showning the days and the times and hours worked frmEditMonth (used as a edit Dialog pop-up) allows the user to edit the hours worked what i …

Member Avatar for arunkumars
0
441
Member Avatar for jj.dcruz

hi there im a total newb at this programming language is there a way 3 databases can be in one datagridview? I can only insert 1 database in a datagrid

Member Avatar for deceptikon
0
228
Member Avatar for jhennmacute

We wanted to save the header of a datagridview in the database. The value inputted in the textbox will be transfer in the header of a datagridview and we do not know how can we do that! Can anyone knows how to save a header of an datagridview???????????thank you

0
90
Member Avatar for riayas

i have 2 tables one holds and id number for a transaction and the other tables holds the data for that transaction i can populate the first datagridview with the "id" data. I want to be able to select the row on the datagridview (id) and show the details for …

Member Avatar for PerplexedB
0
258
Member Avatar for Start4me

What I have is a listbox with items imported from the database. From the Data Sources (Shift+Alt+D) I've dragged a table in the form of Details, instead of DataGridView. What I'm trying to figure out, is how to make the information to be displayed in the Details when an item …

Member Avatar for Start4me
0
278
Member Avatar for PerplexedB

I have a form with a dgv on it. The dgv has 1 column defined as a DataGridViewCheckBoxColumn. I would like this dgv to behave as a radiobutton group, i.e. when I click on one cell, that should be set to true, and the others to false. I've got it …

Member Avatar for PerplexedB
0
239
Member Avatar for airhalynn101

For this project, my client asked me if he could select seven names from the list (which is a DataGridView) and use them in a single, separate form. The solution that came to my mind is to use the CheckBoxColumn for this matter. My problem is I have never used …

Member Avatar for airhalynn101
0
6K
Member Avatar for airhalynn101

I created a form with datagridview for a list of clients. Now, I want to add a Search funtionality for my list, so that the user can just type in the value he wants to see and the row with that value will get selected. Also, I want to add …

Member Avatar for airhalynn101
0
587
Member Avatar for RonKevinT.Manuela

I have a problem with my code in deleting of a record in datagridview and database(see attatchment)...for some reason I cant delete the data in my database...heres the code: private void btnDelete_Click(object sender, EventArgs e) { int selectedindex=dataGridView1.CurrentCell.RowIndex; string deleted; try { cnn.Open(); if (MessageBox.Show("Are you sure you want to …

Member Avatar for ChrisHunter
0
256
Member Avatar for taylorjames01

Hi I'm new to programming but have learned pretty fast and have most of my small application figured out. But the part that I'm working on now has got me. I have a form with some text boxes that after they are filled out get added as a new row …

Member Avatar for taylorjames01
0
270
Member Avatar for Centorpe

When selecting from DataGridView as program line below: Diameter = DesignationsDataGridView.Rows(e.RowIndex).Cells(0).Value I get following exception message box:- System.ArgumentOutOfRangeException was unhandled Message="Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index" If I select 'continue' from message box then I return to …

Member Avatar for Centorpe
0
340
Member Avatar for yogesh_10

How to save, delete and insert current cell value of datagridview from xml file in C#.net winforms. i am entering the data in current cell of datagridview, that data is comming from xml file. now how should i save this current cell data.

Member Avatar for tinstaafl
0
128
Member Avatar for ajinkya112

Hello all, It has been long since i am facing this problem. I want to convert my datagridview data to pdf format. I have searched a lot but couldnt find any. Need your help. Regards, Ajinkya

Member Avatar for jaga.dish.39
0
268
Member Avatar for pebryan

hy im very newbie with VB.net 2010 i want to search/filter my datagridview with textbox i use this to connect mysql and datagridview dbconn = New MySqlConnection("server=localhost ;database=login") Try dbconn.Open() Catch ex As Exception MsgBox("Connection Error") Close() End Try Dim table As New DataTable() dbdata = New MySqlDataAdapter("SELECT * FROM …

Member Avatar for pebryan
0
2K
Member Avatar for Centorpe

I have a form which contains a datagridview and 2 textboxes. I have managed to populate the 2 textboxes as required by click of relevant row in datagridview. With the same click I also open another form which also contains 2 textboxes of the same name and these require the …

Member Avatar for Centorpe
0
198
Member Avatar for Mike Bishop

I have a datagridview with 10 rows I can select mutiple rows by using Ctrl & Mouse click but what I would like to do is use a button to select the row. I.E the user could select row one, click the button and row one would be selected then …

Member Avatar for Mike Bishop
0
4K
Member Avatar for riayas

having a problem with my databinding.I created a table adapter for a table from my database, it has 3 columns and when i preview the data it is all ok. I want to get a datagridview with the columns by dragging the datasource table on to the form but no …

Member Avatar for Sulaiman_1
0
134
Member Avatar for fugio

hi all I have an exercise when I select the value in the combobox will confirm the value on datagridview I wrote a code in combobox of from1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sQry As String sQry = "SELECT Name FROM dtaStudent" …

Member Avatar for Daemon_CC
0
4K
Member Avatar for riahc3

I have in a MySQL database with the column type being DateTime the following time: Timestamp: 9:34:09 9:34:23 9:34:45 9:34:50 9:35:09 9:36:17 But a DataGridView in C# only shows me 9:34 9:34 9:34 9:34 9:35 9:36 Why?

Member Avatar for riahc3
0
1K
Member Avatar for 404notfound

I'll be completely honest, I haven't googled this very much as I have no idea of how to put it. So a nudge in the right direction will be most appriciated. I have two forms and two tables. The first form has a series of text boxes that collect information …

Member Avatar for cgeier
0
164
Member Avatar for dre-logics

I use Visaul Studio 2012 and MySQL database I have a unbound datagridview with a DataGridViewImageColumn, name of column is "Picture1". I want to Save the Image from the DataGridViewImageColumn into MySQL table fields name "Pic1", field type is "Blob" How can i do that. Thanks for your help. Andre

0
84
Member Avatar for rihab_1

hi, I want to spent the values of textbox to datagridview from another form and that after a click on the button add, help me please

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

Hi, I've a project compiled for .net 3.5. In the project there is a form with a DataGridView. In CellPainting I'am adding row numbers in row header: private void dataGridView1_CellPainting(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == -1) { e.PaintBackground(e.ClipBounds, true); using (StringFormat st = new StringFormat()) { st.Alignment = …

Member Avatar for JOSheaIV
0
1K
Member Avatar for GagaCode

hey all again in trying to add to make sure if my datagridview has some data in it or not before adding it to the database and here what i came up till now int i = POSDGV.Rows.Count; for (int j = 0; j < i; j++) { string strCol2 …

Member Avatar for deceptikon
0
191
Member Avatar for johmolan

In my program I hav a datagridview who is showing som data based on a table call it table_1. I have a table_01 witch has a Primary-key called OrdreID. The Binding navigator is connected to this table. The table called table_1 has a forreign key called OrdreId and are related …

0
85
Member Avatar for Tobyjug2222

I'm looking for some help with an issue I am having. I have multiple text files in a folder. The folder can have an "unlimited" amount of text files in it, although typically 2-150 files. http://gyazo.com/5f314d1ca374abf9f813914609dd931d (images for this + below) Each file then contains an "unlimited" (although typically 0-20 …

Member Avatar for Tobyjug2222
0
354
Member Avatar for omojolinho

Hello..please, i want to pass a dictionary from a class to a datagridview on a form.. but each time i try to reference this class from the form, it keeps recreating new objects of my dictionary, thereby setting my dictionary to null. Please, what do i do?

Member Avatar for Momerath
0
96
Member Avatar for omojolinho

Hello... Please i need urgent help on how to pouplate a datagridview row with values from a dictionary using c#.net.Thanks

Member Avatar for ddanbe
0
97
Member Avatar for Mae_1

I'm doing a system in VB.net 2012 where a user inputs a data on a textbox and then if the user clicks on the button, the data in the textbox will show on the datagridview. The problem I'm having is when I input another data, the current data shown in …

Member Avatar for Mae_1
0
15K

The End.