|
Posted by WDS C++ or C# sample without G on October 24, 2005, 1:21 pm
Please log in for more thread options
Hi Vijay,
I've sent you the zipped file.
Thanks!
Fokus
"Vijay Anand" wrote:
> hmm .. I am not sure .. but I got the exact same code to work. Maybe you are
> missing something .. anyhow, can you send me your entire C# project zipped
>
> Vijay
>
> "WDS C++ or C# sample without GUI interfa" wrote:
>
> > Hi Vijay,
> >
> > I'm a newbie. I tried this simple console code. The compilation was ok, but
> > the code crashed when it invoked myQuery.ExecuteQuery(...). Any hint for me?
> >
> > QueryBuilder myQuery;
> > myQuery = new QueryBuilder();
> > DataSet dataGrid1;
> > dataGrid1 = myQuery.resultSet;
> > myQuery.clearColumns();
> > myQuery.addColumnList(ColumnType.GeneralColumnList);
> > myQuery.addColumnList(ColumnType.MusicColumnList);
> > myQuery.sortColumn = ColumnType.GeneralColumns.DocTitle;
> > string yquery = "Innovation";
> > string typeFilter;
> > typeFilter = TypeFilter.Documents;
> > myQuery.ExecuteQuery(yquery, typeFilter);
> > Console.WriteLine( myQuery.resultSet.Tables[0].Rows.Count.ToString());
> >
> >
> > Fokus
> >
> >
> >
> > "Vijay Anand" wrote:
> >
> > > Fokus,
> > > The sample that comes along has a nice C# class called QueryBuilder and
> > > one can look at the form class to see how to use the QueryBuilder class. I
> > > even got it to work in a .Net console application built using C#. My
problem
> > > is that I am trying to write a regular .dll that can be used as a plugin
in
> > > another application and haven't had lucj getting the WDS SDK to work..
> > >
> > > Vijay
> > >
> > >
|