Tagged Questions
2
votes
1answer
47 views
A Better Way of Employing a Using Alias Directive
I understand .NET very well until Principals of OOP come into view, so I guess we can say very little. So to work on this, I am making a Console App that will Catalog my Digital Media to a MySQL ...
1
vote
2answers
95 views
MySQL GEAR, C# class for ASP.NET project
I've developed my own class in ASP.NET project to access MySQL and make queries, scalars and read the result from it.
I want you to review my class and tell me where did I make a mistake, thanks!
...
0
votes
0answers
66 views
Building database from file C# Mysql
well as the question reads I am building a database with 3 tables. Now these tables are going to be used to store names in.
Table 1 will store First Names Table 2 will store Last Names Table 3 will ...
11
votes
2answers
515 views
Learning C#, how to improve the following?
I'm pretty sure I may lose some reputation points for this post, but that's a small price to pay if I can learn more.
So I'm trying to teach myself C#. I'm finding the syntax a lot easier to deal ...
2
votes
2answers
178 views
Query and data manipulation review
The below sections of code are part of a list administration project I am working on to teach myself C#. This is from a tab that is used for list administration. There is a drop down box that allows ...
0
votes
2answers
203 views
Please review my code, inserting an entire form into mysql database
public int InsertQuery(string Query)
{
int LastInsertedID = -1;
MySqlCommand MySqlCmd = new MySqlCommand(Query, this.sqlConn);
try
{
...
4
votes
2answers
358 views
How can I make this code more elegant
I want to make this code as elegant as possible. Let me know some of your feedback
IList<WebSite> wsl = new List<WebSite>();
login1 l = new login1();
string q = "select Id, DomainUrl, ...