Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
Questionhow to connect to sql Pin
costavo13-Aug-07 1:50
costavo13-Aug-07 1:50 
AnswerRe: how to connect to sql Pin
Giorgi Dalakishvili13-Aug-07 2:03
mentorGiorgi Dalakishvili13-Aug-07 2:03 
AnswerRe: how to connect to sql Pin
Russell Jones13-Aug-07 5:53
Russell Jones13-Aug-07 5:53 
Questionsome problem with ResourceManager Pin
Areff13-Aug-07 1:27
Areff13-Aug-07 1:27 
AnswerRe: some problem with ResourceManager Pin
Pete O'Hanlon13-Aug-07 1:31
mvePete O'Hanlon13-Aug-07 1:31 
AnswerRe: some problem with ResourceManager Pin
Talal Sultan13-Aug-07 2:17
Talal Sultan13-Aug-07 2:17 
GeneralRe: some problem with ResourceManager Pin
Areff13-Aug-07 2:42
Areff13-Aug-07 2:42 
AnswerRe: some problem with ResourceManager Pin
Talal Sultan13-Aug-07 2:53
Talal Sultan13-Aug-07 2:53 
I think I remember that when I was working on a project in .NET 1.1 I got some problems with the GetExecutingAssembly(). I don't remember exactly why it wasn't working but I used another piece of code to solve the problem. Also, I think you should put the whole name of the resource file (with namespace reference).

If you have a file called resource.resx in a folder "Properties" of project "myProject", you should put the file as "myProject.Properties.resource".

The code I use is this:

ResourceManager rm = new ResourceManager("myProject.Properties.resource", Type.GetType("namespaceName.pageClassName").Assembly);

where pageClassName is the name of the page class where your code is located and namespaceName is the namespace where this class is located.

Talal



-- If this is a post that has been helpful to you, please vote for it. Thank you!

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook

Questionhow to synchronize static method/variable? Pin
e_b13-Aug-07 1:08
e_b13-Aug-07 1:08 
AnswerRe: how to synchronize static method/variable? Pin
Luc Pattyn13-Aug-07 1:23
sitebuilderLuc Pattyn13-Aug-07 1:23 
QuestionDataGridTextBoxColumn Text Committing problem Pin
srikanth42413-Aug-07 1:03
srikanth42413-Aug-07 1:03 
QuestionHelp regarding row height in datagridview control Pin
anu8113-Aug-07 0:57
anu8113-Aug-07 0:57 
AnswerRe: Help regarding row height in datagridview control Pin
sathish s13-Aug-07 2:51
sathish s13-Aug-07 2:51 
GeneralRe: Help regarding row height in datagridview control Pin
anu8113-Aug-07 3:21
anu8113-Aug-07 3:21 
QuestionTab Order Pin
Sunshine Always13-Aug-07 0:55
Sunshine Always13-Aug-07 0:55 
AnswerRe: Tab Order Pin
Luc Pattyn13-Aug-07 1:27
sitebuilderLuc Pattyn13-Aug-07 1:27 
AnswerRe: Tab Order Pin
kubben13-Aug-07 3:07
kubben13-Aug-07 3:07 
QuestionSFTP, Tamir Pin
GeorgeBerry13-Aug-07 0:46
GeorgeBerry13-Aug-07 0:46 
AnswerRe: SFTP, Tamir Pin
Pete O'Hanlon13-Aug-07 1:14
mvePete O'Hanlon13-Aug-07 1:14 
QuestionRe: SFTP, Tamir Pin
GeorgeBerry13-Aug-07 4:43
GeorgeBerry13-Aug-07 4:43 
AnswerRe: SFTP, Tamir Pin
Ravi Bhavnani13-Aug-07 2:14
professionalRavi Bhavnani13-Aug-07 2:14 
GeneralRe: SFTP, Tamir Pin
GeorgeBerry14-Aug-07 1:13
GeorgeBerry14-Aug-07 1:13 
QuestionData Grid problem Pin
Janu_M13-Aug-07 0:14
Janu_M13-Aug-07 0:14 
AnswerRe: Data Grid problem Pin
Christian Graus13-Aug-07 0:28
protectorChristian Graus13-Aug-07 0:28 
GeneralRe: Data Grid problem Pin
blakey40413-Aug-07 3:30
blakey40413-Aug-07 3:30 

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.