Vamsi k

Vamsi k

  • NA
  • 296
  • 42.9k

get specific value from Datareader

Jan 29 2019 1:04 PM

Hi All,

I am displaying 100  records in gridview using execute reader.

dr contains 100 records.
 
Gridview.datasource=dr;
Gridview1.Databind;
 
Requirements: 
Gridview should display 100 records. 
 
get specific record value i,e dr["initial_rate];
 
How can i get that specific record value.
 
i want to store that specific value into a variable which can be used to check condition. 
 
Please help me on this requirement. It is urgent
 
 

Answers (3)