Click here to Skip to main content
15,884,928 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generics: T x = 5 fails Pin
Nader Elshehabi17-Aug-06 2:07
Nader Elshehabi17-Aug-06 2:07 
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 2:15
protectorChristian Graus17-Aug-06 2:15 
GeneralRe: Generics: T x = 5 fails [modified] Pin
Nader Elshehabi17-Aug-06 2:39
Nader Elshehabi17-Aug-06 2:39 
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 2:47
protectorChristian Graus17-Aug-06 2:47 
GeneralRe: Generics: T x = 5 fails Pin
eggsovereasy17-Aug-06 4:02
eggsovereasy17-Aug-06 4:02 
QuestionEnterprise deployment console Pin
abhinish16-Aug-06 22:39
abhinish16-Aug-06 22:39 
QuestionClasses [modified] Pin
Mamphekgo16-Aug-06 22:03
Mamphekgo16-Aug-06 22:03 
AnswerRe: Classes Pin
Guffa16-Aug-06 22:13
Guffa16-Aug-06 22:13 
To make your code work as it is now, you have to use the "ref" keyword on the parameters, so that the method can change the strings that you send into it:

public void SeachProduct(string PBarcode, ref string PName, ref string PPrice)

and

search.SeachProduct(Barcode, ref ProductName, ref Price);

To use reference parameters in this ways is rarely used, though. Store the values in the search object instead, and expose them through properties.

---
b { font-weight: normal; }

QuestionHow create uninstal project? Pin
ersinsivaz16-Aug-06 21:49
ersinsivaz16-Aug-06 21:49 
AnswerRe: How create uninstal project? Pin
Nader Elshehabi17-Aug-06 1:49
Nader Elshehabi17-Aug-06 1:49 
QuestionServer Image Path Pin
nachisaravanan16-Aug-06 21:45
nachisaravanan16-Aug-06 21:45 
AnswerRe: Server Image Path Pin
Christian Graus16-Aug-06 21:47
protectorChristian Graus16-Aug-06 21:47 
GeneralRe: Server Image Path Pin
nachisaravanan16-Aug-06 22:26
nachisaravanan16-Aug-06 22:26 
GeneralRe: Server Image Path Pin
Christian Graus16-Aug-06 22:35
protectorChristian Graus16-Aug-06 22:35 
AnswerRe: Server Image Path Pin
Guffa16-Aug-06 22:19
Guffa16-Aug-06 22:19 
GeneralRe: Server Image Path Pin
nachisaravanan16-Aug-06 22:28
nachisaravanan16-Aug-06 22:28 
QuestionSending pdf file directly to printer Pin
Support12316-Aug-06 21:34
Support12316-Aug-06 21:34 
QuestionUsing Flat Files with NHibernate Pin
rakesh.motghare16-Aug-06 21:26
rakesh.motghare16-Aug-06 21:26 
Questionhow to use ListView Control in C#.net? Pin
yousafzai16-Aug-06 21:05
yousafzai16-Aug-06 21:05 
AnswerRe: how to use ListView Control in C#.net? Pin
coolestCoder16-Aug-06 21:19
coolestCoder16-Aug-06 21:19 
GeneralRe: how to use ListView Control in C#.net? Pin
chandler8316-Aug-06 21:26
chandler8316-Aug-06 21:26 
GeneralRe: how to use ListView Control in C#.net? Pin
yousafzai16-Aug-06 21:45
yousafzai16-Aug-06 21:45 
GeneralRe: how to use ListView Control in C#.net? Pin
chandler8316-Aug-06 22:48
chandler8316-Aug-06 22:48 
QuestionActiveX control in C#, client in C++, subscribe to event Pin
__alex16-Aug-06 20:37
__alex16-Aug-06 20:37 
QuestionPlease Help Me Pin
salman_syed_0116-Aug-06 20:31
salman_syed_0116-Aug-06 20:31 

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.