help with variables

Results 1 to 2 of 2

Thread: help with variables

  1. #1
    Join Date
    Dec 1969

    Default help with variables

    I have my code which seems to work pretty well. What I want to do is after <BR><BR>objDR = objcmd.ExecuteReader() <BR>rptacctinfo.DataSource = objDR <BR>rptacctinfo.DataBind() <BR><BR>or before, is get some of the data into a variable so I can manipulate the way they need to be and then put it in the form. <BR><BR>So how do I put data from my datareader into a variable? <BR>How do I put the value of the variable into my HTML from? <BR>In the old days I could do this: <BR><BR>string = recordset("fieldname") <BR><BR>and then manipulate the variable to my liking. <BR>How do I do the same thing in .Net????? <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: help with variables

    You can do it a few ways.<BR><BR>You can apply a method to the datagrids onDataBinding event and manipulate the data there, or you can loop through the datareader and place the values into a dimensional array then manipulate the data. etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts