Click here to Skip to main content
15,893,486 members
Home / Discussions / C#
   

C#

 
GeneralRe: Help with Code conversion Pin
TMF32026-Jan-06 11:41
TMF32026-Jan-06 11:41 
GeneralRe: Help with Code conversion Pin
James Gupta26-Jan-06 12:02
professionalJames Gupta26-Jan-06 12:02 
GeneralRe: Help with Code conversion Pin
TMF32026-Jan-06 12:39
TMF32026-Jan-06 12:39 
GeneralRe: Help with Code conversion Pin
TMF32027-Jan-06 2:43
TMF32027-Jan-06 2:43 
QuestionA transparent label? Pin
drc_no126-Jan-06 6:57
drc_no126-Jan-06 6:57 
AnswerRe: A transparent label? Pin
James Gupta26-Jan-06 7:39
professionalJames Gupta26-Jan-06 7:39 
GeneralRe: A transparent label? Pin
drc_no126-Jan-06 7:41
drc_no126-Jan-06 7:41 
QuestionHelp! Access generic list data in App_code class from code behind Pin
Sue_NC26-Jan-06 6:38
Sue_NC26-Jan-06 6:38 
C# newbie has a simple C# question here:
suppose I have a list in PhotoManager.cs class under /App_Code. In photos.aspx.cs I want to call one item from the list data such as string skname, what should I do? I know if you use dataset you will have something like this: dsCategory.Tables(0).Rows(0).Item("skname") but I don't know how to do it with List. I googled for a while still no luck. BTW, the GetCategory method returns single row of data.

public static List<getcat> GetCategory(){

.....................................

GetCat temp = new GetCat(

(int)reader["skid"],

(string)reader["skname"]);

list.Add(temp);

................

}

I am thinking something like this

string strTemp = PhotoManager.GetCategory.Item("skname")

Obviously this has syntax error. any input is appreciated. thanks a lot in advance!
QuestionBeginners Question - User Controls Pin
MarkMokris26-Jan-06 6:36
MarkMokris26-Jan-06 6:36 
AnswerRe: Beginners Question - User Controls Pin
DigitalKing26-Jan-06 9:23
DigitalKing26-Jan-06 9:23 
QuestionModeless display - UserControl! Pin
DotNetInterest26-Jan-06 6:23
DotNetInterest26-Jan-06 6:23 
Questionvb convert c#, passing parameter crystal rpts Pin
steve1_rm200026-Jan-06 5:40
steve1_rm200026-Jan-06 5:40 
AnswerRe: vb convert c#, passing parameter crystal rpts Pin
J4amieC26-Jan-06 5:53
J4amieC26-Jan-06 5:53 
NewsRe: vb convert c#, passing parameter crystal rpts Pin
steve1_rm200027-Jan-06 1:05
steve1_rm200027-Jan-06 1:05 
QuestionThe network Problem is Solved but..... Pin
snouto26-Jan-06 4:08
snouto26-Jan-06 4:08 
AnswerRe: The network Problem is Solved but..... Pin
J4amieC26-Jan-06 5:46
J4amieC26-Jan-06 5:46 
AnswerRe: The network Problem is Solved but..... Pin
leppie26-Jan-06 6:36
leppie26-Jan-06 6:36 
QuestionBinary converting byte to sbyte Pin
Marco [Stinger]26-Jan-06 3:45
Marco [Stinger]26-Jan-06 3:45 
AnswerRe: Binary converting byte to sbyte Pin
Guffa26-Jan-06 7:45
Guffa26-Jan-06 7:45 
GeneralRe: Binary converting byte to sbyte Pin
Marco [Stinger]26-Jan-06 11:13
Marco [Stinger]26-Jan-06 11:13 
GeneralRe: Binary converting byte to sbyte Pin
leppie26-Jan-06 11:39
leppie26-Jan-06 11:39 
AnswerRe: Binary converting byte to sbyte Pin
Guffa27-Jan-06 7:58
Guffa27-Jan-06 7:58 
GeneralRe: Binary converting byte to sbyte Pin
Marco [Stinger]27-Jan-06 22:21
Marco [Stinger]27-Jan-06 22:21 
GeneralRe: Binary converting byte to sbyte Pin
Saravanan_article26-Jan-06 19:00
Saravanan_article26-Jan-06 19:00 
QuestionThreadPool and Application Exit Pin
MrEyes26-Jan-06 3:39
MrEyes26-Jan-06 3:39 

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.