| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using CoreFS.CA06;
- namespace CoreDemo
- {
- public partial class Test : FrmBase
- {
- public Test()
- {
- InitializeComponent();
- }
- public override void ToolBar_Click(object sender, string ToolbarKey)
- {
- switch (ToolbarKey)
- {
- case "Query":
- this.DoQuery();
- break;
- }
- }
-
- private void DoQuery()
- {
- string sqlid = "C0601010301";
- CoreClientParam ccp = new CoreClientParam();
- //ccp.InvokeID = "C06010103";
- ccp.ServerName = "CoreFs.Test.Test";
- ccp.MethodName = "queryArea";
- ccp.ServerParams = new object[] { sqlid };
- //ccp.SourceDataTable = this.dataSet1.Tables[0];
- this.ExecuteQueryToDataTable(ccp, CoreInvokeType.Internal);
- }
- }
- }
|