No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
Re: XML and Excel file it is not the same. If I need to read data from XML then I use something like that [code] System.Xml.XmlDocument myDoc = new System.Xml.XmlDocument(); myDoc.LoadXml(xmlString); System.Xml.XmlElement root = myDoc.DocumentElement; System.Xml.XmlNodeList myNodes = root.SelectNodes("node1/node2"); [/code] Then I iterate through myNodes and take necessary data with this … | |
Re: Stored procedure with checking if email address already exists is more preferable. If you just specify Unique key, then you will get an exception when attempting to insert a duplicate email address. And if you use SP, you can put there also some actions to perform in a case if … | |
Re: You call some business logic layer public method from the UI, and in that method you make an SQL call and return the result of the call to the UI. It's also recommended to have a separate Data Access Layer for reading data from DB, Business Logic Layer's functionality is … |
The End.