Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can't create an Access database in .NET??? Pin
Marc Clifton18-Aug-03 12:30
mvaMarc Clifton18-Aug-03 12:30 
GeneralRe: Can't create an Access database in .NET??? Pin
Nick Parker19-Aug-03 7:39
protectorNick Parker19-Aug-03 7:39 
GeneralRe: Can't create an Access database in .NET??? Pin
Alvaro Mendez19-Aug-03 11:37
Alvaro Mendez19-Aug-03 11:37 
Generalnew form without new window Pin
mikemilano18-Aug-03 10:30
mikemilano18-Aug-03 10:30 
GeneralRe: new form without new window Pin
Marc Clifton18-Aug-03 12:45
mvaMarc Clifton18-Aug-03 12:45 
GeneralRe: new form without new window Pin
Ista18-Aug-03 16:47
Ista18-Aug-03 16:47 
GeneralTrolling through DataSets Pin
Kenneth Childs18-Aug-03 9:22
Kenneth Childs18-Aug-03 9:22 
GeneralRe: Trolling through DataSets Pin
Jeff Martin18-Aug-03 11:42
Jeff Martin18-Aug-03 11:42 
//get the first table in the dataset, first row (if you only have 1 row), get
//the data by fieldName
textBox1.Text = dataSet.Tables[0].Rows[0]["fieldName"].ToString();
textBox2.Text = dataSet.Tables[0].Rows[0]["otherField"].ToString();

I find it easier to use a DataRow...

DataRow row = dataSet.Tables[0].Rows[0];
textBox1.Text = row["fieldName"].ToString();
textBox2.Text = row["otherField"].ToString();

You can also use numerics in the field if the field names are not constant...
textBox1.Text = row[0].ToString();
textBox2.Text = row[1].ToString();
GeneralRe: Trolling through DataSets Pin
Ista18-Aug-03 16:40
Ista18-Aug-03 16:40 
QuestionHow do I create an ActiveX control in C# at runtime Pin
AaronStibich18-Aug-03 7:21
AaronStibich18-Aug-03 7:21 
AnswerRe: How do I create an ActiveX control in C# at runtime Pin
J. Dunlap18-Aug-03 8:57
J. Dunlap18-Aug-03 8:57 
GeneralRe: How do I create an ActiveX control in C# at runtime Pin
AaronStibich18-Aug-03 9:01
AaronStibich18-Aug-03 9:01 
GeneralRe: How do I create an ActiveX control in C# at runtime Pin
J. Dunlap18-Aug-03 9:32
J. Dunlap18-Aug-03 9:32 
GeneralForm inheritance theory. Pin
mikemilano18-Aug-03 7:14
mikemilano18-Aug-03 7:14 
GeneralRe: Form inheritance theory. Pin
J. Dunlap18-Aug-03 9:00
J. Dunlap18-Aug-03 9:00 
GeneralRe: Form inheritance theory. Pin
leppie18-Aug-03 12:23
leppie18-Aug-03 12:23 
GeneralOpening office documents Pin
Radoslav Bielik18-Aug-03 6:13
Radoslav Bielik18-Aug-03 6:13 
GeneralRe: Opening office documents Pin
Ista18-Aug-03 16:03
Ista18-Aug-03 16:03 
GeneralRe: Opening office documents Pin
Radoslav Bielik18-Aug-03 21:08
Radoslav Bielik18-Aug-03 21:08 
GeneralI cant debug my class, what gives Pin
Ista18-Aug-03 6:01
Ista18-Aug-03 6:01 
GeneralRe: I cant debug my class, what gives Pin
Ista18-Aug-03 16:04
Ista18-Aug-03 16:04 
QuestionGet the current thread ID in c#? Pin
Bog18-Aug-03 5:58
Bog18-Aug-03 5:58 
AnswerRe: Get the current thread ID in c#? Pin
Red Rover18-Aug-03 6:57
Red Rover18-Aug-03 6:57 
AnswerRe: Get the current thread ID in c#? Pin
Ista18-Aug-03 16:10
Ista18-Aug-03 16:10 
AnswerRe: Get the current thread ID in c#? Pin
Ista18-Aug-03 16:14
Ista18-Aug-03 16:14 

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.