473,324 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Microsoft Search Server 2008: binding results to ASP.NET controls and/or data structures

I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form that
can be bound to ASP.NET controls like ListViews. If there's simply a way to
return results as an ArrayList or other data structure I can figure out the
rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch. I
want to create fairly customized presentations and behaviors.

I have looked at this:
http://www.codeplex.com/sctsc

It does not seem to be what I want -- at least in the examples it is relying
on XSLT, and the control exposes XSLT-related properties. I just want the
data that's being returned from Search Server to be accessible in some
standard structured form.

Any other examples or articles I should be looking at?

Thanks,
-KF

Jul 7 '08 #1
1 2418
Hi KF,

Based on my research, the search server's search is still depend on the
sharepoint search.asmx webservice. Therefore, this is the main entry point
of client programmability. I've had a look at the search control you
refered, yes, it seems it directly query the webservice and process the
result as plain xml so that you can apply XSLT to produce the output html.

I've also found the following reference, it call the webservice via
standard .net webservice proxy and return the result as a dataset. The
dataset is able to be bound to ASP.NET DataSource control or directly to
databound controls.

#Creating Search Queries Programmatically by Using the Search Web Service
in SharePoint Server 2007
http://msdn.microsoft.com/en-us/library/bb625950.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Ken Fine" <ke*****@newsgroup.nospam>
Subject: Microsoft Search Server 2008: binding results to ASP.NET controls
and/or data structures
>Date: Mon, 7 Jul 2008 13:28:47 -0700
>
I have set up Microsoft Search Server 2008 Express.

I want to know how I can query against it and return results in a form
that
>can be bound to ASP.NET controls like ListViews. If there's simply a way
to
>return results as an ArrayList or other data structure I can figure out
the
>rest of this problem myself.

What I don't want:
* I don't want to deal with XSLT
* I don't want to work with prebuilt controls from SharePoint or somesuch.
I
>want to create fairly customized presentations and behaviors.

I have looked at this:
http://www.codeplex.com/sctsc

It does not seem to be what I want -- at least in the examples it is
relying
>on XSLT, and the control exposes XSLT-related properties. I just want the
data that's being returned from Search Server to be accessible in some
standard structured form.

Any other examples or articles I should be looking at?

Thanks,
-KF

Jul 8 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lance Hoffmeyer | last post by:
Hi all, Anyone know where I can find a python script to search ebay? I have been looking around but haven't found anything. I know there must be one somewhere so I am probably just looking in...
0
by: Wesman | last post by:
Why does the following code not work (displays the correct values in the second textbox). if i chane the OnFocusChange method to the following it will work: private void OnFocusChange(object...
4
by: James | last post by:
Why does my LDAP query from a C# console app limit its results to 1000? When I run the same query from a vb script I get over 6000 results. I have tried to set the SearchRequest.SizeLimit to a...
1
by: ratnakarp | last post by:
Hi, I have a search text box. The user enters the value in the text box and click on enter button. In code behind on button click i'm writing the code to get the values from the database and...
2
by: Mike | last post by:
Hi, I am strugling with a simple problem which I can't seem to resolve. I have an asp.net page which contains a server-control (flytreeview, which is a kind of a tree to be exact). The tree is...
0
by: | last post by:
I have a question about spawning and displaying subordinate list controls within a list control. I'm also interested in feedback about the design of my search application. Lots of code is at the...
3
by: =?Utf-8?B?YWJjZA==?= | last post by:
I have a generic list of objects. Each object contains multiple objects and one of the object has some properties. Now I need to filter the list based on those properties. Whats the best way for...
0
by: jaffarkazi | last post by:
Hi I have a search page. A user would select the search parameters from various textbox, dropdowns, etc. Now the user will click search and get a list of search results. This is available in a...
7
by: raylopez99 | last post by:
I was building a "hello world" application in ASP.NET and during the construction of the same it attempted to access the above site, owned by Microsoft. Webroot Spy Sweeper, which resides on my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.