Answer by Mathieu Guindon for Displaying data from a database onto a form
None of the Above.You've shown 4 different ways of mixing up presentation and data concerns; the 4 approaches only differ in minute implementation details and all suffer the same flaws - what you have...
View ArticleAnswer by Malachi for Displaying data from a database onto a form
with all of the methods you should add another using statement for your Readers as well. right now you aren't closing your reader, I am not sure that the reader is closed inside the using block of the...
View ArticleDisplaying data from a database onto a form
I'm a beginner to .NET and could you guide me to right direction. My problem is based on the following code. Here I have 4 variations of same method and all 4 variations are working fine.What is the...
View Article