Questions tagged [newrow]
55 questions
5
votes
2 answers
How to fire DataTableNewRowEvent after Rows.Add
Now I have
var row = container.Tables[name].NewRow();
row[0] = time;
row[1] = val;
container.Tables[name].Rows.Add(row);
Of course event DataTableNewRowEvent is fired in first line. But I need fire them after last line, I mean after adding new row…

Saint
- 5,397
- 22
- 63
- 107
4
votes
1 answer
google docs spreadsheet asp.net
i am using google docs spreadsheet API for .net and i want to insert new row the google docs using asp.net C# i am unable to that.
Any one can help me??

Mihir
- 128
- 1
- 6
3
votes
2 answers
Powershell pscustomobject format-table new row instead of one line
I have a very large JSON response for employees that I am trying to get into table format, export to CSV and eventually insert into SQL Server. I was able to determine how to get all of my variables from the json file, however now I am getting all…

Jumpman
- 67
- 1
- 4
3
votes
1 answer
Sourcecollection count is 0 newitemplaceholder is not shown
After deleteing all the items in the bound collection, the datagrid.items.count is 1 and the only item in the item collection is newitemplaceholder but the datagrid does not show the newitemplaceholder. This can only occur if the last item is the…

Csharpfunbag
- 395
- 3
- 19
3
votes
1 answer
Datagridview column does not allow null
I have a datagridview bound to a datasource, column[0] AgencyName is a primary key and cannot be null.
Clicking the Bindingnavigator ( + ) plus sign to add new row (twice) will result to error "Column (AgencyName) does not allow null". How to handle…

Gerie Tanabe
- 147
- 3
- 10
3
votes
1 answer
Adding new row to SlickGrid
I have a slickgrid using the dataview. From what I can tell, the grid's add new row event isn't called until after the first new row field's editor is complete. The field I was editing is a custom editor that uses a input box with autocomplete and…

user1347790
- 95
- 1
- 9
2
votes
2 answers
How to add new row to a html table in ExtJS
Hello I have worked with regular tables and javascript to add new rows at the end of table, could someone help me out with adding new row containing html elements at the end of table?

macha
- 7,337
- 19
- 62
- 84
2
votes
1 answer
How to update database from DataGrid using Entity Framework
I am trying to use a CRUD Operations on Wpf DataGrid with Entity Framework.
Existing rows can successfully modified and when click save button changes are saved. When it comes to new rows the entity framework SaveChanges for some reason is not…

Stelios
- 330
- 5
- 21
2
votes
3 answers
Inserting extra data in a linq result but not to the data source or waiting for submiting changes on a context object
When I had a Typed DataTable with information retrieved from a SQL Server with a table adapter, I'm able to insert temporary data into that DataTable which I just want to use on execution time, and I don't want it to be inserted into the…

Marko
- 93
- 2
- 5
2
votes
1 answer
datagridview beginedit on new row automatically
i'm trying to set a cell to edit mode. The cell is in the new row (NewRowIndex). Everwhere else it works well, but if i try to set the edit mode in the NewRowIndex, it doesn't get into edit mode as supposed. I simply want that i f user enters a new…

FreewareFire
- 33
- 1
- 1
- 6
1
vote
2 answers
Add a new row in each group (Day)
I am trying to make a function with this data and would really appreciate help with this!
example<- data.frame(Day=c(2,4,8,16,32,44,2,4,8,16,32,44,2,4,8,16,32,44),
Replicate=c(1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,
…

Kirds
- 131
- 7
1
vote
1 answer
Get data from NewItemRow after row inserted in grid
I'm using the DevExpress XPF GridControl's NewItemRow for adding new row to my database. How to get the user entered data from new row. Am using prism framework. Here is my xaml

PRK
- 177
- 1
- 4
- 15
1
vote
0 answers
Android: Adding new rows into a SQLite database
I am trying to add a new row inside an existing SQLite database, but for some reason it doesn't seem to do it. I've created this method to insert the row into the table:
public void insertToTable(ArrayList courseAttributes, ArrayList…

Peter
- 47
- 2
- 8
1
vote
0 answers
Altering code to paste only cell value from an active cell
This is what I currently have:
If Sheet6.Range("j8").Value <> 0 Then
Sheet6.Range("j8").Copy Sheet6.Range("B" & Rows.Count).End(xlUp).Offset(1, 0)
End If
Sheet6.Range("J8").ClearContents
But the problem is that I only need to copy the values,…

Igor Sacer
- 11
- 1
1
vote
1 answer
Check MySQL new record without Pooling
I am searching about a method to check for new records (in MySQL table) without pooling each X seconds or minutes.
I have found that MySQL triggers could be used but it can't call an external program or PHP file?

PHP5
- 69
- 2
- 6