Click here to Skip to main content
15,887,676 members
Home / Discussions / Database
   

Database

 
AnswerRe: Creating Tables at runtime? Pin
Colin Angus Mackay20-Jun-05 23:01
Colin Angus Mackay20-Jun-05 23:01 
GeneralSearch Record Pin
ADY00720-Jun-05 8:45
ADY00720-Jun-05 8:45 
GeneralRe: Search Record Pin
Yulianto.20-Jun-05 15:43
Yulianto.20-Jun-05 15:43 
GeneralRe: Search Record Pin
Luis Alonso Ramos20-Jun-05 18:06
Luis Alonso Ramos20-Jun-05 18:06 
Generalread and display single record Pin
gharryh20-Jun-05 7:37
gharryh20-Jun-05 7:37 
GeneralRe: read and display single record Pin
Colin Angus Mackay20-Jun-05 10:44
Colin Angus Mackay20-Jun-05 10:44 
GeneralRe: read and display single record Pin
gharryh20-Jun-05 20:15
gharryh20-Jun-05 20:15 
GeneralRe: read and display single record Pin
Colin Angus Mackay20-Jun-05 20:24
Colin Angus Mackay20-Jun-05 20:24 
If you want to use a dataset - and if you are going to access the information on a row by row basis then that is quite inefficient, I suggest you use a DataReader - then you can use something like this:
object value = MyDataset.Tables[0].Rows[rowIndex][columnNameString]
replacing the rowIndex and columnNameString with appropriate values.You can also loop over the rows like this
foreach(DataRow row in MyDataset.Tables[0].Rows)
{
object value = row[columnNameString];
// Do something with value
}

Once you have the value from the column you can do what ever you need to do with it. Like, for example, insert it in to the HTML you are building.

Does this help?



My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More


GeneralRe: read and display single record Pin
gharryh20-Jun-05 23:53
gharryh20-Jun-05 23:53 
GeneralRe: read and display single record Pin
Colin Angus Mackay21-Jun-05 0:24
Colin Angus Mackay21-Jun-05 0:24 
Generaluser id and password validating Pin
Member 198366920-Jun-05 0:26
Member 198366920-Jun-05 0:26 
GeneralRe: user id and password validating Pin
Yulianto.20-Jun-05 15:42
Yulianto.20-Jun-05 15:42 
GeneralCase-sensativity in SQL Pin
Brendan Vogt19-Jun-05 20:23
Brendan Vogt19-Jun-05 20:23 
GeneralRe: Case-sensativity in SQL Pin
Colin Angus Mackay19-Jun-05 20:44
Colin Angus Mackay19-Jun-05 20:44 
GeneralRe: Case-sensativity in SQL Pin
Brendan Vogt20-Jun-05 20:18
Brendan Vogt20-Jun-05 20:18 
GeneralRe: Case-sensativity in SQL Pin
Colin Angus Mackay20-Jun-05 20:30
Colin Angus Mackay20-Jun-05 20:30 
GeneralRe: Case-sensativity in SQL Pin
Michael Potter20-Jun-05 4:52
Michael Potter20-Jun-05 4:52 
GeneralRe: Case-sensativity in SQL Pin
Richard Deeming20-Jun-05 8:27
mveRichard Deeming20-Jun-05 8:27 
GeneralRe: Case-sensativity in SQL Pin
Michael Potter21-Jun-05 3:57
Michael Potter21-Jun-05 3:57 
QuestionWhy anyone needs a commercial OR mapper with is not flexible? Pin
erdsah8819-Jun-05 0:01
erdsah8819-Jun-05 0:01 
GeneralReinstall SQL Pin
gharryh18-Jun-05 23:09
gharryh18-Jun-05 23:09 
GeneralRe: Reinstall SQL Pin
Vasudevan Deepak Kumar19-Jun-05 19:32
Vasudevan Deepak Kumar19-Jun-05 19:32 
GeneralRe: Reinstall SQL Pin
Stanciu Vlad20-Jun-05 6:20
Stanciu Vlad20-Jun-05 6:20 
GeneralRe: Reinstall SQL Pin
gharryh20-Jun-05 7:02
gharryh20-Jun-05 7:02 
GeneralRe: Reinstall SQL Pin
Colin Angus Mackay20-Jun-05 20:37
Colin Angus Mackay20-Jun-05 20:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.