Click here to Skip to main content
12,448,164 members (69,407 online)

.NET Framework

 
AnswerRe: Get description from Public Enum Pin
Eddy Vluggen16-Jan-13 2:37
mvpEddy Vluggen16-Jan-13 2:37 
QuestionMisunderstanding XML Pin
Gary Heath14-Jan-13 23:44
memberGary Heath14-Jan-13 23:44 
AnswerRe: Misunderstanding XML Pin
Alan Balkany16-Jan-13 4:11
memberAlan Balkany16-Jan-13 4:11 
AnswerRe: Misunderstanding XML Pin
jschell16-Jan-13 9:07
memberjschell16-Jan-13 9:07 
AnswerRe: Misunderstanding XML Pin
SledgeHammer0121-Jan-13 11:06
memberSledgeHammer0121-Jan-13 11:06 
Question[vb.net] Minimize Prompt Pin
barabba200514-Jan-13 5:31
memberbarabba200514-Jan-13 5:31 
AnswerRe: [vb.net] Minimize Prompt Pin
ProgramFOX14-Jan-13 7:08
member ProgramFOX14-Jan-13 7:08 
GeneralRe: [vb.net] Minimize Prompt Pin
barabba200515-Jan-13 0:42
memberbarabba200515-Jan-13 0:42 
GeneralRe: [vb.net] Minimize Prompt Pin
Dave Kreskowiak15-Jan-13 4:22
mvpDave Kreskowiak15-Jan-13 4:22 
AnswerRe: [vb.net] Minimize Prompt Pin
Alan N15-Jan-13 6:01
memberAlan N15-Jan-13 6:01 
Questionread an excel file Pin
xnaLearner14-Jan-13 4:38
memberxnaLearner14-Jan-13 4:38 
AnswerRe: read an excel file Pin
0bx15-Jan-13 11:55
member0bx15-Jan-13 11:55 
AnswerRe: read an excel file Pin
Dave Kreskowiak15-Jan-13 19:42
mvpDave Kreskowiak15-Jan-13 19:42 
Questionncorrect work of Dataset deserialized from XML Pin
senglory13-Jan-13 2:50
membersenglory13-Jan-13 2:50 
string stmp = "\n<rs:data ItemCount=\"6\" xmlns:rs=\"urn:schemas-microsoft-com:rowset\">\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"3049\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Татнефть УÐ*С\" BdcIdentity=\"__bg01003300030043009300\" xmlns:z=\"#RowsetSchema\" />\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"5328\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Ð*озница\" BdcIdentity=\"__bg01005300330023008300\" xmlns:z=\"#RowsetSchema\" />\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"5353\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Медуница\" BdcIdentity=\"__bg01005300330053003300\" xmlns:z=\"#RowsetSchema\" />\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"5357\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Оптовик\" BdcIdentity=\"__bg01005300330053007300\" xmlns:z=\"#RowsetSchema\" />\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"8372\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Артемьев ИП\" BdcIdentity=\"__bg01008300330073002300\" xmlns:z=\"#RowsetSchema\" />\n   <z:row _x041a__x043b__x0438__x0435__x043d__x0442___x043a__x043e__x0434_=\"16440042770нс\" _x0424__x0438__x043b__x0438__x0430__x043b___x041a__x043e__x0434_=\"20706\" _x041a__x043e__x0434_=\"8620\" _x041d__x0430__x0437__x0432__x0430__x043d__x0438__x0435_=\"Шифа\" BdcIdentity=\"__bg01008300630023000300\" xmlns:z=\"#RowsetSchema\" />\n</rs:data>\n";
            XmlDocument xd = new XmlDocument();
            xd.LoadXml(stmp);
 
            DataSet dsQuery = new DataSet();
            var node = xd.DocumentElement as XmlNode;
            XmlReader reader1 = new XmlNodeReader(node);
            dsQuery.ReadXml(reader1);
 
            var v1 = dsQuery.Tables["row"].Rows[4]["_x041a__x043e__x0434_"];
            var v2 = dsQuery.Tables["row"].Rows[4][dsQuery.Tables["row"].Columns[2].ColumnName];


The line with v1 throws an exception:

Column '_x041a__x043e__x0434_' does not belong to table row.


The line with v2 throws no exception, however it returns an empty value instead of expected integer value. I wonder why it happens and how to force dataset to work with my XML correctly?
QuestionIs there any way to generate a DB from an EDMX model without all the table names being pluralised? Pin
Brady Kelly12-Jan-13 17:19
memberBrady Kelly12-Jan-13 17:19 
Question\UIAutomationProvider damaged and can't read Pin
AlterAkarin10-Jan-13 15:07
memberAlterAkarin10-Jan-13 15:07 
AnswerRe: \UIAutomationProvider damaged and can't read Pin
Sandeep Mewara10-Jan-13 17:31
mvpSandeep Mewara10-Jan-13 17:31 
QuestionHow to Bind table data to chart? Pin
Deenuji9-Jan-13 21:46
groupDeenuji9-Jan-13 21:46 
Questionpop up after certain time limit Pin
fox079-Jan-13 15:15
memberfox079-Jan-13 15:15 
AnswerRe: pop up after certain time limit Pin
Sandeep Mewara9-Jan-13 17:47
mvpSandeep Mewara9-Jan-13 17:47 
JokeRe: pop up after certain time limit Pin
jibesh10-Jan-13 17:11
memberjibesh10-Jan-13 17:11 
QuestionDeleting data from Master and Detail tables using Entity Framework Pin
indian1439-Jan-13 8:48
memberindian1439-Jan-13 8:48 
AnswerRe: Deleting data from Master and Detail tables using Entity Framework Pin
Dave Kreskowiak10-Jan-13 2:03
mvpDave Kreskowiak10-Jan-13 2:03 
AnswerRe: Deleting data from Master and Detail tables using Entity Framework Pin
jschell10-Jan-13 13:57
memberjschell10-Jan-13 13:57 
Question[VB.NET 2008] How to put an image in a button Pin
steve_94966138-Jan-13 22:54
membersteve_94966138-Jan-13 22:54 
AnswerRe: [VB.NET 2008] How to put an image in a button Pin
Eddy Vluggen9-Jan-13 1:22
mvpEddy Vluggen9-Jan-13 1:22 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_94966139-Jan-13 21:40
membersteve_94966139-Jan-13 21:40 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
Eddy Vluggen9-Jan-13 22:57
mvpEddy Vluggen9-Jan-13 22:57 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
halabella13-Jan-13 4:17
memberhalabella13-Jan-13 4:17 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_949661313-Jan-13 22:46
membersteve_949661313-Jan-13 22:46 
AnswerRe: [VB.NET 2008] How to put an image in a button Pin
s32750499-Jan-13 7:41
members32750499-Jan-13 7:41 
GeneralRe: [VB.NET 2008] How to put an image in a button Pin
steve_94966139-Jan-13 20:57
membersteve_94966139-Jan-13 20:57 
Question[VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966138-Jan-13 22:12
membersteve_94966138-Jan-13 22:12 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Eddy Vluggen9-Jan-13 1:29
mvpEddy Vluggen9-Jan-13 1:29 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 3:15
membersteve_94966139-Jan-13 3:15 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Eddy Vluggen9-Jan-13 4:31
mvpEddy Vluggen9-Jan-13 4:31 
AnswerRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
Alan N9-Jan-13 6:17
memberAlan N9-Jan-13 6:17 
GeneralRe: [VB.NET 2008] How to get single bytes from a multibyte value Pin
steve_94966139-Jan-13 20:35
membersteve_94966139-Jan-13 20:35 
QuestionDistributing Changes to a DLL that Other Assemblies Depend Upon Pin
Richard Andrew x648-Jan-13 2:24
memberRichard Andrew x648-Jan-13 2:24 
AnswerRe: Distributing Changes to a DLL that Other Assemblies Depend Upon Pin
Pete O'Hanlon8-Jan-13 2:31
protectorPete O'Hanlon8-Jan-13 2:31 
QuestionMethod Level security based on User logged in Pin
pankajbaunthiyal7-Jan-13 22:31
memberpankajbaunthiyal7-Jan-13 22:31 
AnswerRe: Method Level security based on User logged in Pin
Pete O'Hanlon7-Jan-13 23:44
protectorPete O'Hanlon7-Jan-13 23:44 
QuestionIOException was Unhandled Pin
jankevint7-Jan-13 15:39
memberjankevint7-Jan-13 15:39 
AnswerRe: IOException was Unhandled Pin
Richard MacCutchan7-Jan-13 22:24
mvpRichard MacCutchan7-Jan-13 22:24 
QuestionUser password encryption in .Net Framework 4.5 Pin
samijf6-Jan-13 21:11
membersamijf6-Jan-13 21:11 
AnswerRe: User password encryption in .Net Framework 4.5 Pin
Eddy Vluggen6-Jan-13 21:15
mvpEddy Vluggen6-Jan-13 21:15 
QuestionBuild Output Question Pin
Kevin Marois4-Jan-13 5:32
memberKevin Marois4-Jan-13 5:32 
AnswerRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:13
mvpRichard MacCutchan4-Jan-13 6:13 
GeneralRe: Build Output Question Pin
Kevin Marois4-Jan-13 6:20
memberKevin Marois4-Jan-13 6:20 
GeneralRe: Build Output Question Pin
Richard MacCutchan4-Jan-13 6:58
mvpRichard MacCutchan4-Jan-13 6:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 24 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid