I’m using this code to create my dhtmlxFormConnector
dhtmlxFormConnector connector = new dhtmlxFormConnector(
"Tbl_table",
"Col1,Col2, Col3, Col4, Col5,Col6,Col7,Col8",
"ID",
dhtmlxDatabaseAdapterType.SqlServer2005,
ConfigurationManager.ConnectionStrings["SamplesDatabase"].ConnectionString
);
return connector;
It returns all the data…
I’ve tried adding a filter like this
dhtmlxFormConnector connector = new dhtmlxFormConnector(
"Tbl_table",
"Col1,Col2, Col3, Col4, Col5,Col6,Col7,Col8",
"ID",
dhtmlxDatabaseAdapterType.SqlServer2005,
ConfigurationManager.ConnectionStrings["SamplesDatabase"].ConnectionString
);
if (context.Request.QueryString["id"] != null)
connector.Request.Rules.Add(new FieldRule("ID", Operator.Equals, context.Request.QueryString["id"]));
return connector;
This hasn’t worked either… Is there something else we’re supposed to do for this to work with the FormConnector - I’m following the Contact Manager tutorial btw.
Thanks,
Matt