Re: How to bind data in datalist

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Jay,

when get's your code executed? Did you place it in any eventhandler or how
is the structure of your application?

Regards

Daniel Walzenbach


"Jay Villa" <jayvilla@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:u3Yc6xYsFHA.2936@xxxxxxxxxxxxxxxxxxxxxxx
>i can see it has records .... in the dataset ...
>
>
> "Daniel Walzenbach" <daniel.walzenbach@xxxxxxxxxxxxxxxx> wrote in message
> news:ufPCvdYsFHA.2592@xxxxxxxxxxxxxxxxxxxxxxx
>> Jay,
>>
>> can you verify that "Select * from userslist" returns any rows?
>>
>> when get's your code executed?
>>
>> Regards
>>
>> Daniel Walzenbach
>>
>>
>> "Jay Villa" <jayvilla@xxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
>> news:eSrvkXYsFHA.1256@xxxxxxxxxxxxxxxxxxxxxxx
>>>I have a aspx webform which has executes a query
>>> "Select * from userslist"
>>>
>>> I have a datalist for which i have to bind this query
>>> Dim oDataAdapter As OracleDataAdapter = New OracleDataAdapter(sSQL,
>>> ClientConnection)
>>>
>>> Dim ds As New DataSet
>>>
>>> oDataAdapter.Fill(ds, "LoginInformation")
>>>
>>> dataListQueue.DataSource = ds '.Tables("LoginInformation").DefaultView
>>>
>>> dataListQueue.DataBind()
>>>
>>> In the item template I've
>>> <b>Model Number: </b> <%# DataBinder.Eval(Container.DataItem,
>>> "lastname")%>
>>>
>>> But I dont see anything on the form ....
>>>
>>> Any help ....
>>>
>>> -Jay
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: How to bind data in datalist
    ... > Daniel Walzenbach ... >> I have a datalist for which i have to bind this query ... >> Dim oDataAdapter As OracleDataAdapter = New OracleDataAdapter(sSQL, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: References choice...
    ... Then you can use it in code, to use it in a query - you need to make a public function, which returns this variable value, and use this function in a query ... Best regards, ... Is it possible to define constant 'A' that would pick a value from combobox ... >> in general - you need to have min 3 references in Access ...
    (microsoft.public.access.modulesdaovba)
  • Re: Webdav htmldescription tag missing from response
    ... Instead of DAV:htmldescriptions, you must query urn:schemas:httpmail:htmldescription ... Best regards, ... the reason why no html description is returned in this case, ... > Webdav and has been quite happy for sometime. ...
    (microsoft.public.exchange.applications)
  • Re: date useage in vb expression
    ... > a WHERE clause rather than a named filter or query. ... >> End Sub ... >> Best regards ... >> Scott B ...
    (microsoft.public.access.formscoding)
  • Re: Query to use like values from other table
    ... or similar to above query. ... Best Regards, ... Luqman ... >> The ways I know is either use union query ...
    (microsoft.public.sqlserver.programming)