blah blah blah is here! blah blah » Close

0
votes
0 answers

How to Display dates in datagridview on selected month and year

i am using a datagridview in window application c#.net i want to display dates in datagridview cells by datatable (like datetimepicker control) [img]http://asan.netai.net/images/0c641195b274.jpg[/img] thanks

1
votes
1 answers

costom second header row in datagridvoew

I'm trying to create costom second header row in datagridvoew to allow the user to filter. i want it to be below the regular header. i started trying but the [b]DataGridViewRowCollection[/b] don't have insert at index method. any s ...

0
votes
1 answers

datagridview to table accsess

lios
30

hi with this code i create a new table with name the date-time DateTime dat = DateTime.Now; string format = "d M yyyy HH:mm"; dat.ToString(format); string days = Convert.ToString(dat. ...

0
votes
1 answers

C# - Copy Cell Content on Right Click in DataGridView

Hi, I have a simple Windows forms application with a datagridview. I want to copy cell content on right click. I had made this once but cannot do it again, I don't know what I am doing wrong this time although the code looks exactly the ...

1
votes
1 answers

Format Datagrid row on 2 column values

Guys, I have a datagrid with 11 columns in. I'm trying to color the row depending on the values in columns 10 and 11. so for example if column [10] has no value the row is highlighted Green. now i want to check column [11] and if [11] has a ...

0
votes
1 answers

Adding data continously to a DataGridView

Hello to everyone. I am using a datagridview to display some data. I add the data one by one, increasing the number of rows and columns as necessary. After adding a single data, I copy all of them from datagridview1 to datagridview2. I also ...

0
votes
0 answers

C# DataGridView null DataError on new row, but all cells have values

Good morning, I have a DataGridView bound to a DataView. The first time the use clicks on one of the cells on the new row, the DataError event does not fire. When the user does the same action a second time, the event DOES fire, and retu ...

1
votes
2 answers

Datagridview Cell Vertical Scroll

Hi all I have a datagridview where some cells that contain xml data is quite long, when entering edit mode a good portion of the data is unviewable due to the data being larger than the cell. Does anyone know if it is possible to have ...

0
votes
2 answers

Search and Highlight cell text in datagridview

Hi I have a project with 2 datagridviews, i am trying to highlight the differences between the 2 datagridviews. I am using richtextbox columns found on code project and i cannot seem to highlight the differences in the cells? I can ...

1
votes
1 answers

DatagridView multiline Cell?

Hi I have an app that has a treeview, when i select a node on the trieview i clear down the datadrid and reload the columns and row with the data stored in a couple of dictionaries that matches the treenode index. However one of the c ...

1
votes
1 answers

Compare textbox text to datagrid text

On my form i have a comboBox and a textBox and a datagridview, on button click i'm trying to compare the text from the combobox and textbox agaisnt the 2 columns in the datagridview, if it matches do a function. Now the below code i've c ...

0
votes
1 answers

how to make editable one of my readonly datagridview columns

salam guyz! i made my datagridview readonly through its readonly property now i want to make one of those columns editable from the datagridview.if any body can help me with some details it will be my pleasure... thanks khoda hafiz ...

1
votes
1 answers

Close form on datagrid status

How can i close my form if my datagrid has no rows? or rows with any data anyhow. I'm going to place the code in a timer event. So basicly when my timer event fires if it doesn't count any rows in DataGridview the form will close.

1
votes
2 answers

C#: A Simple Issue in CellClick Event of DataGridView

Hi, I am working on a simple windows forms application and I use the following code to copy the text when a cell is clicked on the datagridview. [code]if (e.RowIndex >= 0 && dataGridView1.Rows[e.RowIndex].Cells[e.ColumnInde ...

0
votes
2 answers

DGV Cell Format not working

I wanted the user to input values in "dd MMM yyyy" format Only, I'm using dataGridView1.Columns["Rel_Date"].DefaultCellStyle.Format = "dd MMM yyyy"; in Form_Load......... But somehow it's not working. I can ...

Feedback