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

C#

 
QuestionHow to Connect Local Database Server in Button Click With C#.net ? Pin
Rahad Rahman30-Sep-09 22:28
professionalRahad Rahman30-Sep-09 22:28 
AnswerRe: How to Connect Local Database Server in Button Click With C#.net ? Pin
NarVish30-Sep-09 22:43
NarVish30-Sep-09 22:43 
AnswerRe: How to Connect Local Database Server in Button Click With C#.net ? Pin
Mycroft Holmes30-Sep-09 22:45
professionalMycroft Holmes30-Sep-09 22:45 
JokeRe: How to Connect Local Database Server in Button Click With C#.net ? Pin
Greg Chelstowski30-Sep-09 23:09
Greg Chelstowski30-Sep-09 23:09 
GeneralRe: How to Connect Local Database Server in Button Click With C#.net ? Pin
Mycroft Holmes30-Sep-09 23:18
professionalMycroft Holmes30-Sep-09 23:18 
Questionread the changed value from "Workbook_SheetCalculate(object sh)" function for Excel Pin
NarVish30-Sep-09 21:43
NarVish30-Sep-09 21:43 
Questiondatagridview Pin
Anjani Poornima30-Sep-09 21:43
Anjani Poornima30-Sep-09 21:43 
QuestionJava to C# Pin
satsumatable30-Sep-09 21:41
satsumatable30-Sep-09 21:41 
Hi I've few Java code and want to convert exact C# code can anybody help me out?


public static String calculateRFC2104HMAC(String data, String key, String signatureMethod) 
        throws SignatureException
    {
        String result = "";
        try
        {
            SecretKeySpec signingKey = new SecretKeySpec(key.getBytes(), signatureMethod);
            Mac mac = Mac.getInstance(signatureMethod);
            mac.init(signingKey);
            byte rawHmac[] = mac.doFinal(data.getBytes());
            result = Base64.encodeBytes(rawHmac);
        }
        catch(Exception e)
        {
            throw new SignatureException("Failed to generate HMAC : " + e.getMessage());
        }
        return result;
    }

AnswerRe: Java to C# Pin
SeMartens30-Sep-09 22:05
SeMartens30-Sep-09 22:05 
Questionmulti-user winforms application Pin
An Enigma30-Sep-09 21:36
An Enigma30-Sep-09 21:36 
AnswerRe: multi-user winforms application Pin
SeMartens30-Sep-09 22:09
SeMartens30-Sep-09 22:09 
GeneralRe: multi-user winforms application Pin
Greg Chelstowski30-Sep-09 22:37
Greg Chelstowski30-Sep-09 22:37 
GeneralRe: multi-user winforms application Pin
An Enigma30-Sep-09 22:43
An Enigma30-Sep-09 22:43 
GeneralRe: multi-user winforms application Pin
Greg Chelstowski30-Sep-09 22:49
Greg Chelstowski30-Sep-09 22:49 
GeneralRe: multi-user winforms application Pin
An Enigma30-Sep-09 22:52
An Enigma30-Sep-09 22:52 
GeneralRe: multi-user winforms application Pin
J4amieC30-Sep-09 23:22
J4amieC30-Sep-09 23:22 
GeneralRe: multi-user winforms application Pin
Mycroft Holmes30-Sep-09 22:56
professionalMycroft Holmes30-Sep-09 22:56 
GeneralRe: multi-user winforms application Pin
An Enigma30-Sep-09 23:02
An Enigma30-Sep-09 23:02 
GeneralRe: multi-user winforms application Pin
Mycroft Holmes30-Sep-09 23:25
professionalMycroft Holmes30-Sep-09 23:25 
Questiononshutdown() problem Pin
Ajithevn30-Sep-09 20:54
Ajithevn30-Sep-09 20:54 
AnswerRe: onshutdown() problem Pin
N a v a n e e t h30-Sep-09 21:11
N a v a n e e t h30-Sep-09 21:11 
GeneralRe: onshutdown() problem Pin
Ajithevn30-Sep-09 21:25
Ajithevn30-Sep-09 21:25 
QuestionHow to view a Column Name in listbox by selecting the Column in DataGridView Pin
mumair78630-Sep-09 20:51
mumair78630-Sep-09 20:51 
AnswerRe: How to view a Column Name in listbox by selecting the Column in DataGridView Pin
Mycroft Holmes30-Sep-09 23:09
professionalMycroft Holmes30-Sep-09 23:09 
GeneralRe: How to view a Column Name in listbox by selecting the Column in DataGridView Pin
mumair7861-Oct-09 0:38
mumair7861-Oct-09 0:38 

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.