DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: datareport

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    datareport

    [Originally posted by preetha]

    my query in the command of the dataenvironment is like this˙ select * from table1 where column1=var˙ (where var is a variable)how do u assign the value of var at runtime ?? i tried assigning its value in the initialize() of the datareport,but could,nt.please help me.

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:datareport

    [Originally posted by singaravelu]

    Hi,

    ˙ in sql u will give select * from <tablename> where column1 = ?

    after then u will give in coding send the parameter command1.text = 100 if u have a numeric data in column1.if u˙ have in string data command1.text = "100". Now it will work

    My Id is velu_bsc2@rediffmail.com

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:datareport

    [Originally posted by preetha]

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center