Changeset 1233
- Timestamp:
- Sep 4, 2011, 2:28:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r1190 r1233 1939 1939 dt = this.DocManager.GlobalDataSet.Tables["ResourceUser"]; 1940 1940 dv = new DataView(dt, "", "RESOURCENAME ASC", DataViewRowState.OriginalRows); 1941 dv.RowFilter = "USERNAME = '" + this.DocManager.ConnectInfo.UserName + "'"; 1941 1942 //dv.RowFilter = "USERNAME = '" + filte_name + "'"; 1943 dv.RowFilter = String.Format("USERNAME = '{0}'", this.DocManager.ConnectInfo.UserName.Replace("'", "''")); 1944 1942 1945 for (int j=0; j < dv.Count; j++) 1943 1946 {
Note:
See TracChangeset
for help on using the changeset viewer.