Hi,
I am working with WinGrid where i am creating a Search Tool. Here i want to Bind Columns of table to the perticular Cell of wingrid. Can any one tell me how can i perform this task???
Thanks in Advance
Hi Rufus,
The grid has only a single data source. If you want to show data from a variety of places, you can do that, but it's up to you to build a single data source that has all the data you want in it. The grid simply shows whatever data you give it to show.
Hey Mike,
It doesn't matter how many columns are there in the grid. what i want is that suppose i have 5 columns in grid then in that case i want to assign diff datasource to all the cells (i.e.)
cell1- emp number from employee table
cell2-dept number from departement table
cell3-Vendor name from vendor table
and so on... is it possible?????and if yes then how????????
I'm still unclear on what you are asking for.It sounds to me like you need a grid with 3 columns. The grid must have a datasource, so you will need to create a data source with 3 fields. You could use a DataTable for this or the UltraDataSource component.
Actually i am creating a Search Tool using Wingrid where in each cell i want differen Data.
Let Say in first cell i want Column's of one perticular Table.(ex) Table Emp where column will be EmpID,EmpName,Address,Phone etc...i want those columns
In Second Column Some Criteria i.e. (=,>,>=,<,<=) like wise , again in third cell again column header of other table like wise......
In sort using the wingrid i want to create a criteria tool box where user can make his own selection criteria and based on that i can make a string which i can use to get the data.
I'm afraid I do not understand your question.