Skip to content

SlDatabase Select

Milkenm edited this page May 9, 2019 · 1 revision

Syntax:

SlDatabase _Database = new SlDatabase();
_Database.Select(<TABLE>, [SELECTION], [CONDITION], [SPLITTER]);
# TABLE: The table to select the data from.
# SELECTION (Optional): The field to select the data from.
# CONDITION (Optional): Self explanatory no?
# SPLITTER (Optional): When multiple data is taken into 1 string, (by default) |,| is used to split the data.



Example:

SlDatabase _Database = new SlDatabase();
foreach (var _Loop in _Database.Select("Users"))
{
	MessageBox.Show($"{_Loop}");
}

Clone this wiki locally