Forum: C# Oct 24th, 2008 |
| Replies: 5 Views: 2,496 ok, I've got answer, I was missing project/add reference/system.configuration... |
Forum: C# Oct 24th, 2008 |
| Replies: 5 Views: 2,496 |
Forum: C# Oct 24th, 2008 |
| Replies: 5 Views: 2,496 Hello people, Can somebody tell me how can I use ConfigurationManager? What using assembly should I declare?
There is very useful article (http://msdn.microsoft.com/en-us/library/ms254494.aspx)... |
Forum: C# Oct 10th, 2008 |
| Replies: 6 Views: 1,116 After all I found the solution here (http://www.codeproject.com/KB/cs/simplecodeasp.aspx):
I do not know how to execute delete, insert, update using datacontext...I really don't know, so I just... |
Forum: C# Oct 10th, 2008 |
| Replies: 6 Views: 1,116 Could please describe me step by step what to do with this log file? |
Forum: C# Oct 9th, 2008 |
| Replies: 6 Views: 1,116 aha, ok, I think that problem maybe more, that it cannot touch MaterialTyp table...hmm, but anyway, this touches the storedprocedure DeleteRowMaterialTable, which is called with this line:
... |
Forum: C# Oct 9th, 2008 |
| Replies: 6 Views: 1,116 Hello I use this code as a stored procedure to delete row of the table:
ALTER PROCEDURE dbo.DeleteRowMaterialTyp
(
@CisloParam varchar(MAX) /* hodnota v tabulke, ktora nam identifikuje... |
Forum: C# Oct 6th, 2008 |
| Replies: 6 Views: 5,362 Yes, I've found the problem. Here on this link:
http://blogs.interfacett.com/dan-wahlins-blog/2008/2/17/linq-and-lambdas-and-sprocsoh-my.html
I learned that, what you wrote "Order" in... |
Forum: C# Oct 6th, 2008 |
| Replies: 6 Views: 5,362 I think my stored procedures have been tweaked enough, maybe the int type was good enough... and now comes the question how to bind data to datagrid view, but following code is not good:
... |
Forum: C# Oct 6th, 2008 |
| Replies: 6 Views: 5,362 OK, but now I get this message:
The type or namespace name 'Order' could not be found (are you missing a using directive or an assembly reference?) |
Forum: C# Oct 6th, 2008 |
| Replies: 6 Views: 5,362 Hello people, I need your advice, what to do. I use LINQ stored procedure to select all data from sql table to DataGridView:
EtiketyLINQDataContext EtiketyData = new... |
Forum: C# Sep 24th, 2008 |
| Replies: 8 Views: 3,460 OK, let's close this discussion. Seems I'm confusing and complicating things alot. I used the usual way to delete: select row by clicking on row header and then hit delete.
Some things also were... |
Forum: C# Sep 24th, 2008 |
| Replies: 8 Views: 3,460 Yes, I know, that deleting row according to currentcellindex works, but what if your selection is on the very last row in case that your property that allows users to add rows is on? That means that... |
Forum: C# Sep 17th, 2008 |
| Replies: 8 Views: 3,460 I'm sorry for spamming, won't happen again. I'm very new person in this forum and programming forum in general...
Even though, I'm not sure, that rowindex-1 is the answer for my question because... |
Forum: C# Sep 17th, 2008 |
| Replies: 2 Views: 767 thank you, I'll try that... |
Forum: C# Sep 17th, 2008 |
| Replies: 2 Views: 1,453 Hey professionals, I use DataGridView that allows me to add new rows in table. But when I want to delete it by clicking on my deleting button with following code:
... |
Forum: C# Sep 17th, 2008 |
| Replies: 1 Views: 557 I have got a question. I use DataGridView in my program. When I run the application, I can select more cells by clilcking and draging mouse. I don't want the datagridview to do this. What property of... |
Forum: C# Sep 17th, 2008 |
| Replies: 0 Views: 427 Hey people, I want to ask.
I have following xml file:
<Materials>
<Material hrubka="5" popis="dobry popis" />
<Material hrubka="0,2" popis="bla bla" />
<Material hrubka="0,1"... |
Forum: C# Sep 17th, 2008 |
| Replies: 2 Views: 767 Can somebody tell me what is the char code for key "delete"? |
Forum: C# Sep 17th, 2008 |
| Replies: 8 Views: 3,460 I use button for by clicking it to delete one row in the DataGridView. This is the code:
DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex);
I use xml file as the source of dataset... |
Forum: C# Sep 17th, 2008 |
| Replies: 0 Views: 657 Hello masters, I need your help. I've been struggling for longer time with deleting nodes with the same attributes.
How can I do that?
e.g.
<material width = "1.2" description = "paper">... |
Forum: C# Sep 17th, 2008 |
| Replies: 0 Views: 2,485 Hello I've got a problem. How can I remove particular xml node from xmldocument?
Pls, help. |
Forum: C# Sep 16th, 2008 |
| Replies: 0 Views: 600 Hello masters, I'd like to ask, if somebody can help me with populating following xml file:
<Materials>
<Material width="0,1" description="matné papiere" />
<Material width="0,4"... |
Forum: C# Sep 12th, 2008 |
| Replies: 1 Views: 4,332 Hello people, I've got a problem. Can anybody tell me how can I save data from DataGridView through Dataset to XML? I've found many useful codes that could solve problem like this:
Dataset ds... |