Silme94
Silme94
CC#
Created by Silme94 on 6/29/2024 in #help
FlowLayoutPanel TopDown problem
please can someone help
2 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
it still return me 0
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
?
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
it will work the same for
string themeQuery = "SELECT * FROM Theme";
using (SQLiteCommand command = new SQLiteCommand(themeQuery, externalConnection))
using (SQLiteDataReader reader = command.ExecuteReader())
{
while (reader.Read())
{
int oldThematicId = Convert.ToInt32(reader["ThematicId"]);
int newThematicId = thematicMapping[oldThematicId];
string name = reader["Name"].ToString();
InsertTheme(newThematicId, name);
int newId = GetLastInsertId();
themeMapping[Convert.ToInt32(reader["Id"])] = newId;
}
}

string questionQuery = "SELECT * FROM Question";
using (SQLiteCommand command = new SQLiteCommand(questionQuery, externalConnection))
using (SQLiteDataReader reader = command.ExecuteReader())
{
while (reader.Read())
{
int oldThemeId = Convert.ToInt32(reader["ThemeId"]);
int newThemeId = themeMapping[oldThemeId];
string text = reader["Text"].ToString();
InsertQuestion(newThemeId, text);
int newId = GetLastInsertId();
questionMapping[Convert.ToInt32(reader["Id"])] = newId;
}
}
string themeQuery = "SELECT * FROM Theme";
using (SQLiteCommand command = new SQLiteCommand(themeQuery, externalConnection))
using (SQLiteDataReader reader = command.ExecuteReader())
{
while (reader.Read())
{
int oldThematicId = Convert.ToInt32(reader["ThematicId"]);
int newThematicId = thematicMapping[oldThematicId];
string name = reader["Name"].ToString();
InsertTheme(newThematicId, name);
int newId = GetLastInsertId();
themeMapping[Convert.ToInt32(reader["Id"])] = newId;
}
}

string questionQuery = "SELECT * FROM Question";
using (SQLiteCommand command = new SQLiteCommand(questionQuery, externalConnection))
using (SQLiteDataReader reader = command.ExecuteReader())
{
while (reader.Read())
{
int oldThemeId = Convert.ToInt32(reader["ThemeId"]);
int newThemeId = themeMapping[oldThemeId];
string text = reader["Text"].ToString();
InsertQuestion(newThemeId, text);
int newId = GetLastInsertId();
questionMapping[Convert.ToInt32(reader["Id"])] = newId;
}
}
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
alr
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
ok
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
this part
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
No description
17 replies
CC#
Created by Silme94 on 6/19/2024 in #help
✅ Database cmd.ExecuteScalar() ERROR
17 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
!close
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
that work well thanks
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
ok
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
but imgui windows work well
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
yes
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
i just want to change color
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
but it scale well
71 replies
CC#
Created by Silme94 on 4/17/2024 in #help
✅ ImGui.NET and OpenTK
@R like the screen here the same color
71 replies