Database Reference
In-Depth Information
Glo balClasses.
DBOperations.SetData
(richTextBox1.Text);
}
}
}
}
else if (richTextBox1.Text.
ToUpper().Contains(“UPLEVEL”))
{
string Query = richTextBox1.Text.
Replace(“\n”, “ “);
string name = “”;
string Cname = “”;
string Dept = “”;
string CDept = “”;
string Salary = “”;
string CSalary = “”;
int TC = globals.UserLabelID;
string SelectSTR = “”;
foreach (string s in GlobalClasses.
MLSDB.GetAttribute(MLSDB.
AttributeSTR(Query)))
{
str ing[] stringSeparators
= new string[]
{“FROM”};
string Coulmn =
s.ToUpper().
Split(stringSeparators,
StringSplitOptions.
RemoveEmptyEntries)[0].
Trim().ToUpper();
string CoulmnClass =
s.ToUpper().
Split(stringSeparators,
StringSplitOptions.
RemoveEmptyEntries)[1].
Trim().ToUpper();
if (Coulmn = =
“DEPARTMENT”)
{
SelectSTR = “Select
Name,CName,Department,
CDept from “ + MLSDB.
Search WWH ::




Custom Search