Click here to Skip to main content
15,901,505 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can I control sampling rate from C#, i.e of times I read a variable in a sec Pin
Luc Pattyn10-Mar-10 16:27
sitebuilderLuc Pattyn10-Mar-10 16:27 
QuestionHow C# should communicate with access db file ? Pin
biscoito10-Mar-10 13:04
biscoito10-Mar-10 13:04 
AnswerRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 15:17
mentorNot Active10-Mar-10 15:17 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:17
coding freaks10-Mar-10 16:17 
GeneralRe: How C# should communicate with access db file ? Pin
Luc Pattyn10-Mar-10 16:29
sitebuilderLuc Pattyn10-Mar-10 16:29 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:38
mentorNot Active10-Mar-10 16:38 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:42
coding freaks10-Mar-10 16:42 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:46
mentorNot Active10-Mar-10 16:46 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:52
coding freaks10-Mar-10 16:52 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 16:57
mentorNot Active10-Mar-10 16:57 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 16:59
coding freaks10-Mar-10 16:59 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 17:17
coding freaks10-Mar-10 17:17 
GeneralRe: How C# should communicate with access db file ? Pin
Not Active10-Mar-10 17:30
mentorNot Active10-Mar-10 17:30 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 19:58
coding freaks10-Mar-10 19:58 
GeneralRe: How C# should communicate with access db file ? Pin
Dave Kreskowiak10-Mar-10 17:56
mveDave Kreskowiak10-Mar-10 17:56 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 20:01
coding freaks10-Mar-10 20:01 
GeneralRe: How C# should communicate with access db file ? Pin
Dave Kreskowiak10-Mar-10 17:42
mveDave Kreskowiak10-Mar-10 17:42 
GeneralRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 20:02
coding freaks10-Mar-10 20:02 
GeneralRe: How C# should communicate with access db file ? Pin
Luc Pattyn10-Mar-10 17:34
sitebuilderLuc Pattyn10-Mar-10 17:34 
AnswerRe: How C# should communicate with access db file ? Pin
coding freaks10-Mar-10 20:17
coding freaks10-Mar-10 20:17 
QuestionText Files Pin
Darrall10-Mar-10 12:55
Darrall10-Mar-10 12:55 
AnswerRe: Text Files Pin
DaveyM6910-Mar-10 14:16
professionalDaveyM6910-Mar-10 14:16 
GeneralRe: Text Files Pin
Darrall10-Mar-10 14:36
Darrall10-Mar-10 14:36 
QuestionLooping through Dataset instead of DataGridView? Pin
Eagle3210-Mar-10 11:48
Eagle3210-Mar-10 11:48 
Hi,

I would like to loop through the DataSet at runtime to retrieve selected values and store them in local variables but i am not sure how i could do this using DataSet that is generated using the inbuilt wizard. I am using SQL Server Compact. My database has "*.sdf" extension. I created a strongly typed DataSet using the wizard. So in the solution explorer i can see the DataSet and it has an extension of "*.xsd".

At the moment i am doing this:

foreach(DataGridViewRow dgvrow in CustomerGridView.Rows)
{
  //e.g to get surname
  String Surname = dgvrow.Cells[2].Value.ToString();
  //do some other stuff here too

}


Wouldnt it be more efficient if i looped through the DataSet that I have created? If so, how would i go about doing this based on the above code.

If anybody could assist me with this, it would be much appreciated.

Thanks,
AnswerRe: Looping through Dataset instead of DataGridView? Pin
Dan Mos10-Mar-10 12:03
Dan Mos10-Mar-10 12:03 

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.