datagridview

  1. sanjeewa.nibm

    DataGridview update and Datagridview refresh

    What would be the similarities and differences in DataGridview.Update() and Datagridview.Refresh() methods What are the places to use DataGridview.Update() and Datagridview.Refresh() I'm little confused
  2. A

    Question Remove check box column from datagridview when clear datagridview

    i have created datagridview dynamically with check box column,once i refresh my datagrid its removes all data except checkbox column,below code for adding checkbox column in datagrid DataGridViewCheckBoxColumn chk = new DataGridViewCheckBoxColumn(); dataGridView1.Columns.Add(chk)...
  3. T

    Question datagridview doesn?t show the datasource

    i?m trying to bind a list to a datagridview. i do that: public void seedatagrid(List<myClass> liste2) { dgv_TraceItems.DataSource =liste2; } and the datagridview has the data, but it doesn?t show anything. could you help me?? how can i resolve the problem?? thank you the class...
  4. A

    Set Location of ListView below DataGridView Active Row

    ools: Visual Studio 2010 Ultimate, Language C#, Database MySql Hi, I am searching this a while, but to date didn't find any suitable solution. I've a form with bound DataGridView with 5 columns, ProductID, ProductName, Qty, Price and Amount. After normal data entry user can click button...
  5. J

    KeyUp in datagridview with EditOnEnter not working

    Hello People! I have a problem in my DataGridView: I like to have a cell Always be in editmode as I enter it. (DataGridView.EditMode = EditOnEnter) This works perfectly! I want to use the function-keys F7 and F8 for two different things: F7 adds a new record, F8 opens the selected...
  6. J

    Question Datagridview giving errors on adding a new row on the comboboxcell

    Hello, I have problems with a comboboxcolumn in a datagridview: As I want to insert a new row, I get a "System.ArgumentException: The value of the DataGridViewComboBoxCell is invalid." I am using Linq to SQL to populate the data from different tables: - Table Customer (ID (key), Name,...) -...
  7. A

    DataGridView with Identity Column

    I am using Visual Studio 2010, language C# and SQL Server Express Edition as backend. There is one form with DataGridView control, I've setup columns manually using designer, then on runtime set the data source. connectionString = ConfigurationManager.AppSettings["connectionString"]...
  8. A

    Insert Data to Master/Detail table in Sqlserver 2005 with Foreign key

    I need some help to make a Order Form in C#. My development environment is: Microsoft Visual Studio 2010 Ultimate Sql Server Express Edition 2005 Programming Language C# Sample Database = NorthWind (Tables=Orders and OrderDetails) I've create a Form for order dataentry, which contain Textbox...
  9. A

    Question Save data from Unbound DataGridView to Sql Server 2005 and then Bind to records

    Hi All Experts, I am a newbie to C#, my development environment is: Visual Studio 2010 Ultimate Edition Sql Server 2005 Programming Language C#** I've a form with Unbound Datagridview, from which data is save to Sql Server 2005 by looping through For..Each and pass SQL INSERT Statement when...
  10. nK0de

    Question Painting the cell background of a custom DataGridView column

    I'm trying to create a DataGridView column hosted with Radiobuttons. I've been following this MSDN article. I've uploaded the Visual Studio project here. And for those who are unsure about downloading unknown attachments, here's the code I've written so far. using System; using...
Back
Top Bottom