Database Reference
In-Depth Information
GlobalClasses.globals.
UserLabelID.ToString();
SelectSTR = “exec dbo.
usp_EnableCellVisibility;
Select * “ + “ From [VW”
+ MLSDB.
DMLSTR(richTextBox1.
Text).Trim() +
“-Encryption] where TC
<> “ + GlobalClasses.
globals.UserLabelID;
}
else
{
string newPredicate = “
CONVERT(nvarchar
(MAX), DecryptByKey
(“+Predicate.
Split(“in”.
ToCharArray(), 2)[0].
Trim()+”)) “;
SqlStr = “exec dbo.usp_
EnableCellVisibility;” +
richTextBox1.Text.
Replace(Predicate.
Split(“in”.
ToCharArray(), 2)[0].
Trim(), newPredicate) +
“ and TC = “ +
GlobalClasses.globals.
UserLabelID.ToString();
SqlStr = SqlStr.
Replace(MLSDB.
DMLSTR(richTextBox1.
Text).Trim(), “dbo.
[“+MLSDB.
DMLSTR(richTextBox1.
Text).Trim() +
“-Encryption]”);
//+ MLSDB.GetAttribute
(MLSDB.AttributeSTR
(richTextBox1.Text))[0].
ToString()
SelectSTR = “exec dbo.
usp_
Search WWH ::




Custom Search