408 Topics
| |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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? | |
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 … | |
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 | |
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 | |
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 = … | |
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 … | |
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 … | |
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 … | |
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? | |
Hello... Please i need urgent help on how to pouplate a datagridview row with values from a dictionary using c#.net.Thanks | |
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 … |
The End.