Click here to Skip to main content
15,915,324 members
Home / Discussions / C#
   

C#

 
QuestionC# Exposing to COM Pin
TheManFran5-Dec-05 22:32
TheManFran5-Dec-05 22:32 
GeneralC# Exposing to COM Pin
TheManFran5-Dec-05 22:14
TheManFran5-Dec-05 22:14 
AnswerRe: C# Exposing to COM Pin
leppie5-Dec-05 22:25
leppie5-Dec-05 22:25 
GeneralRe: C# Exposing to COM Pin
TheManFran5-Dec-05 22:34
TheManFran5-Dec-05 22:34 
GeneralRe: C# Exposing to COM Pin
leppie6-Dec-05 6:37
leppie6-Dec-05 6:37 
QuestionHow to get Caps lock num lock state Pin
GDavy5-Dec-05 20:20
GDavy5-Dec-05 20:20 
AnswerRe: How to get Caps lock num lock state Pin
jjansen5-Dec-05 23:42
jjansen5-Dec-05 23:42 
QuestionDataRow Problem Pin
tatchung5-Dec-05 20:08
tatchung5-Dec-05 20:08 
Hello once again!

I was wondering why i cant seem to add data to my datarow. here's the code snippet im hoping if you guys could help me out on this one...
DataTable dt = new DataTable();
string[] arrEmpIDs = strEmpID.Split(',');
for (int q=0; q<arrEmpIDs.Length; q++)
{
        DataRow dr = dt.NewRow();
	dr[q] = objDSPHContribRep.fgetEmpPhilHealthInfo(arrEmpIDs[q]);
	dt.Rows.Add(dr);
}
return dt;


the array holds 10 strings and the function works fine (database retrieval). Well the program hangs before dt.Rows.Add(dr); and im totaly clueless why.

An advance thanx for all your posts! Kampai!!!

Aim small, miss small...
AnswerRe: DataRow Problem Pin
jonny55-Dec-05 20:20
jonny55-Dec-05 20:20 
GeneralRe: DataRow Problem Pin
tatchung5-Dec-05 20:47
tatchung5-Dec-05 20:47 
QuestionAccessing Main menu Item? Pin
MudkiSekhon5-Dec-05 19:58
MudkiSekhon5-Dec-05 19:58 
AnswerRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 0:38
Vikram A Punathambekar6-Dec-05 0:38 
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 0:48
MudkiSekhon6-Dec-05 0:48 
GeneralRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 0:56
Vikram A Punathambekar6-Dec-05 0:56 
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 1:16
MudkiSekhon6-Dec-05 1:16 
GeneralRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 2:22
Vikram A Punathambekar6-Dec-05 2:22 
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 1:46
MudkiSekhon6-Dec-05 1:46 
QuestionToolTip for ComboBox Pin
suresh sahu5-Dec-05 18:22
suresh sahu5-Dec-05 18:22 
QuestionI want to execute only one file in the project in C#.net Pin
sridevi20055-Dec-05 17:35
sridevi20055-Dec-05 17:35 
AnswerRe: I want to execute only one file in the project in C#.net Pin
Guffa6-Dec-05 0:46
Guffa6-Dec-05 0:46 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 1:44
sridevi20056-Dec-05 1:44 
AnswerRe: I want to execute only one file in the project in C#.net Pin
Colin Angus Mackay6-Dec-05 1:14
Colin Angus Mackay6-Dec-05 1:14 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 1:52
sridevi20056-Dec-05 1:52 
GeneralRe: I want to execute only one file in the project in C#.net Pin
Colin Angus Mackay6-Dec-05 2:05
Colin Angus Mackay6-Dec-05 2:05 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 2:32
sridevi20056-Dec-05 2:32 

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.