binding SQL data to extract columns

Sweellamums

New Member
From my ASP.NET c# application, I want to run a SQL query and store all the column values so that I can use them in my application.For example, \[code\]select name, age, phone, address, work from UserInfo\[/code\]And I want to bind each of the columns (name, age, phone, address, work) into each individual textboxes in my page.Is DataView the best way to do it?
 
Back
Top