Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Member Avatar for matejkralik

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 which is sourcedata of the DataGridView. It makes problems when I [B]delete last row[/B]. What can I do? pls, help

Member Avatar for shibin09
0
2K
Member Avatar for matejkralik

Hello people, Can somebody tell me how can I use ConfigurationManager? What using assembly should I declare? There is very useful [URL="http://msdn.microsoft.com/en-us/library/ms254494.aspx"]article[/URL] which features I want to use in my code but my express edition is unable to recognize ConfigurationManager, ConnectionStringSettings,... How to solve this?

Member Avatar for ddanbe
0
136
Member Avatar for matejkralik

Hello I use this code as a stored procedure to delete row of the table: [ICODE]ALTER PROCEDURE dbo.DeleteRowMaterialTyp ( @CisloParam varchar(MAX) /* hodnota v tabulke, ktora nam identifikuje riadok, ktory sa ma zmazat */ ) AS Delete From MaterialTyp Where Cislo = @CisloParam RETURN[/ICODE] And this is code where I …

Member Avatar for matejkralik
0
108
Member Avatar for matejkralik

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 EtiketyLINQDataContext(); IEnumerable VypisDat = EtiketyData.Vypis("Cislo", "Typ", "Hrubka", "MaterialTyp"); LINQdataGridView.DataSource = VypisDat; The problem occurs with this line: `IEnumerable VypisDat = EtiketyData.Vypis("Cislo", "Typ", "Hrubka", …

Member Avatar for matejkralik
0
546
Member Avatar for matejkralik

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: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); ...it makes problems, others rows aren't problematic to delete but this is. But not on purpose I want to …

Member Avatar for Renukavani
0
96
Member Avatar for matejkralik
Member Avatar for matejkralik
0
97
Member Avatar for matejkralik

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 DataGridView is responsible for it? pls, give me some advice.

Member Avatar for LizR
0
61
Member Avatar for matejkralik

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" popis="bla bla" /> </Materials> I fill datagridview with this xml file. This file is automatically saved when the application is closed. I have a problem, when …

0
67
Member Avatar for matejkralik

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"> <material width = "1.2" description = "paper"> My xml file is shown on DataGridView. I want to prevent …

0
61
Member Avatar for matejkralik

Hello I've got a problem. How can I remove [B]particular[/B] xml node from xmldocument? Pls, help.

0
55
Member Avatar for matejkralik

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" description="matné papiere" /> <Material width="0,5" description="papieriky" /> </Materials> to [B]combobox[/B] how can I do that? i do not want to insert nodes but values of attributes. …

0
59
Member Avatar for matejkralik

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 = new Dataset(); ds = (Dataset) (DataGridViewXY.Datasource); ds.WriteXml("XML_name.xml"); !but actually! it doesn't work because when I …

Member Avatar for LizR
0
133