datagridview

  1. IBgemeda

    vb 2008 read/write to/from datagridview/text file

    Hello. Code is for read and write to and from textfile and datagridview. vb 2008. Works well enough. Only problem is it doesn't save to text file the first input placed into any cell if it's the only input or the last of series of inputs. Your time is much appreciated! Thanks In advance...
  2. M

    Question DataGridView

    Below is my coding, Actually i want to key in EmployeeID in the textbox and click the view button. Once the button is clicked than the Datagridview table will show information about the employee. However with my coding, All the employees information is displayed. Please help me....thank you...
  3. M

    Question Adding rows to a DataGridView control using a strongly typed dataset

    I've been trying to solve this problem for about a week with no success, and it is getting very frustrating. I have an SQL CE database with a strongly typed dataset. Each table has a primary key "ID" which is an auto-increment bigint field. The dataset is set to be the data source for my...
  4. S

    Question DataGridView and Nested Connections

    Hi This is my first post and i hope i'm not asking too much..... I am new(ish) to Visual Basic and i have learned from looking at old VB6 code for programs that have been made for us in the past, this includes using the old ADODB connections and FlexGrids which both have been changed in VB.Net...
  5. D

    Question RTF in DataGridView

    Hi all, I made a custom column that can read RTF so that colors and fonts can be used. Now that this is done, I encountered a problem. The rows in this datagridview can be minimized (standardheight) or maximized (height of the text in the rtf cell). But when using different fonts in this rtf...
  6. N

    Question checkbox plus text weirdly difficult

    I'm still pretty new to VB.NET so please forgive if this is obvious. All I want to do is build some kind of table-like or grid-like control in my form that has two columns. An element in the first column should be a checkbox that is changable by the user, and an element in the second column is...
  7. Svekke

    Question Football prognostics project, datagrid wrong

    Hello all, I'm trying to make a program in which football (or some other sport) prognostics can be entered and scores can be calculated automatically. I've set up the database and I've created 3 layers. In the data layer, I've added my access 2007 database (it already has the right links...
  8. M

    Question Datagridview with masked edit box

    I am completely unable to make work the datagridview using maskededit. dgv1.Columns("BudgetDate").DefaultCellStyle.Format = "$#.00" In above example I am getting error - "Object reference not set to an instance of an object." Suggested by error to use new keyword. I've tried several...
  9. manster

    Question DataGridView(DGV)

    I have this DGV on which I have a button to automatically create 12 financial periods in one year. I got that right pretty well and to save it to the database ok. Now I want to allow the user to edit/update the data in this DGV. I know about the doubleclick to edit the cells but when I change a...
  10. C

    Data changed

    Hi I have a DataGridView with a datatable as its datasource. What is the best way to detect that data has been changed by a User? Thanks
  11. X

    Question Formatting numbers for DataGridView

    I am trying to format a DataGridView column to show values formatted as follows: 100.222 => 100.22 0 => 22 => 22.00 3123 => 3,123.00 I can't seem to achieve this with any formatting string. The (#) is great because if the number is 0, it doesn't show...
  12. K

    Keypress capture when multicell selected within DataGridView

    I'm sure this is simple, but I can't seem to find a reference for this specific situation. I'm using a datagridview that I'd like to have the user be able to select multiple cells within a row and then allow them to press <Delete> to delete the values within the cells. I can't seem to capture...
  13. N

    Question DataGridView & CellValueNeeded event

    Hi, how can I know that my DataGridView doesn't need to raise CellValueNeeded anymore? There is any property to know that datagridview has finished to update unbounded cells? Thanks Nico
  14. D

    Question can we have an editable combobox in datagridview ?

    Can we have an Editable DataGridViewComboBoxColumn in a datagridview or any other alternate for the same ?
  15. T

    Question How to populate dropdownlist in DataGridView

    Hi, I want to populate drop down list inside DataGridView. Consider this... I have give DataGridView to enter details... 1) Name 2) RollNo 3) City For Name and RollNo user will enter details, but for city i want user to select city from dropdownlist. Please guide me some suitable link or...
  16. P

    Question DataGridView Focus

    Hi All, i am using DataGridView for Data binding. it works fine. i wrote a coding retrieve current row's DATA when press enter key in DataGridView it works fine,but when i pressed enter key datagridview focus is move to next row, so that it will retrieve the latest focus data, but i want data...
  17. B

    Writing Data from a DataGridView to a Text File

    I have been using this code, see below, to try and write data from the DataGridView to a text file. It works but it puts an extra comma after each line and thinks that there has been another line so puts an extra 4 commas on a new line. So the text file looks like this: 9,Here to There,1,15...
  18. P

    Question How to save datagridview data to the database file.

    I'm using VB Express 2008 in Windows 7 64-bit. I'm working on a project with a datagridview bound to a MS Access 2007 database. I want to use the datagridview to add, delete and update the data in the MS Access database. When I added the database file to the project through the Datasource...
  19. N

    Question Datagridview with ComboBoxColumn fetching data from joined table

    Hello everyone, This is my first post as a newbie and i have done some search on this forums as well as read the rules before posting this. I am using VB 2005 professional and SQL Server 2005 express edition. For the last two weeks I have been trying to have a datagridview control on a form...
  20. R

    Question DatagridView ComboBox Issue

    Hi Forum, This is my first post and the problem which am narrating below is drooling me off. so here's my scenario... I have 2 datagridviews in my Windows Application.When I click on a row in the parentgrid, a child grid shows up with data regarding to which I have clicked.both grids are from...
Back
Top