|
-
Dec 23rd, 2006, 11:23 AM
#1
Thread Starter
Hyperactive Member
How to modify a record from reader?
I am new to C# and learning as I go So I hope you can help. I am reading from SQL using a reader.
I than want to manipulate the data that was read and write to a new table
I have the read and write piece working, now I am working on the syntax of changing the value in the reader.
Example... I read in a value called onoffrange1
I now want to change its value to an int variable i have called quotient. Here is the syntax I am trying to use:
reader["onoffrange1"].ToString() = quotient1;
how do I need to change it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|