drop down list always a vertical display

L

Leah

Okay. I followed the steps from a MS KB article (306227, i think)
about how to create a frop down box in a data grid, and bind to data.
However, the contents always displays vertically, like:

d
a
t
a

Instead of

data

Any ideas? I can't seem to find a property to set.


Thanks for any help.


Leah
 
L

Leah

On Page Load

Dim strBarcode As String
strBarcode = Request.QueryString("Barcode")
SqlDataAdapter1.SelectCommand.Parameters(0).Value = strBarcode
SqlConnection1.Open()
SqlDataAdapter1.Fill(DataSet11, "CLDBSysConfig")
SqlConnection1.Close()
DataGrid1.DataSource =
DataSet11.Tables("CLDBSysConfig").DefaultView
DataGrid1.DataBind()

Barcode is a foreign key parameter, but shouldn't have any affect on
the column that displays the data - different item.

I found a different way to do this, thanks to dotnetjohn.com, but
still, I'm curious as to why this happens.


Leah
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top