Please help me to read just one record from MS SQL table.
I tried to do that in the next way (IronPython 2.6 RC1):
cmd = SqlCommand("SELECT * FROM myTable", cn)
dr = cmd.ExecuteReader()
After that I have ALL the table in dr!
But need only ONE record (more precise: read table records one by one)
...
Sorry!
I was wrong!
I forget about two more commands in my program:
table=[]
for row in dr: table.append(row)
So it turned out an equivalent to dr.Read()!...