Show search results

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

does anyone know if it's possible in .NET to display a multicolumn list like in MSAccess? I'm building an application in which a user can enter a search text and the application will then show a list of results that match the search text. But I want to display more than one column (ie. company name, address, telephone, etc.). I was able to do this bu using a datagrid but that's not what I want because I can't set the column width of the datagrid.

Is it possible in .NET

Thx
Maurice
 
Infragistics has a web combo control that will allow you to do this. Go to
http://www.infragistics.com

James
Maurice said:
Hi,

does anyone know if it's possible in .NET to display a multicolumn list
like in MSAccess? I'm building an application in which a user can enter a
search text and the application will then show a list of results that match
the search text. But I want to display more than one column (ie. company
name, address, telephone, etc.). I was able to do this bu using a datagrid
but that's not what I want because I can't set the column width of the
datagrid.
 
Hi,

Have a look at the TableStyles member of the datagrid and the associated
DataGridColumnStyle class (you can set details about the columns including
width)...Try something similar to the following:

Dim dgcs As DataGridColumnStyle

For Each dgcs In DataGrid1.TableStyles
If dgcs.HeaderText = "Name" Then
dgcs.Width = 200
End If
If dgcs.HeaderText = "Description" Then
dgcs.Width = 400
End If
Next

Phill


Maurice said:
Hi,

does anyone know if it's possible in .NET to display a multicolumn list
like in MSAccess? I'm building an application in which a user can enter a
search text and the application will then show a list of results that match
the search text. But I want to display more than one column (ie. company
name, address, telephone, etc.). I was able to do this bu using a datagrid
but that's not what I want because I can't set the column width of the
datagrid.
 
Back
Top