Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
QuestionVisual studio 2015 - Visual c# 2015 Pin
Roberto64_Ge2-Feb-17 3:41
Roberto64_Ge2-Feb-17 3:41 
AnswerRe: Visual studio 2015 - Visual c# 2015 Pin
Richard MacCutchan2-Feb-17 3:48
mveRichard MacCutchan2-Feb-17 3:48 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
Roberto64_Ge2-Feb-17 4:55
Roberto64_Ge2-Feb-17 4:55 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
Richard MacCutchan2-Feb-17 5:16
mveRichard MacCutchan2-Feb-17 5:16 
AnswerRe: Visual studio 2015 - Visual c# 2015 Pin
NotPolitcallyCorrect2-Feb-17 4:33
NotPolitcallyCorrect2-Feb-17 4:33 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
Roberto64_Ge2-Feb-17 4:58
Roberto64_Ge2-Feb-17 4:58 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
NotPolitcallyCorrect2-Feb-17 5:28
NotPolitcallyCorrect2-Feb-17 5:28 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
NotPolitcallyCorrect2-Feb-17 5:30
NotPolitcallyCorrect2-Feb-17 5:30 
GeneralRe: Visual studio 2015 - Visual c# 2015 Pin
Roberto64_Ge2-Feb-17 22:42
Roberto64_Ge2-Feb-17 22:42 
Questionhow to load signature pad in c# Pin
janairie1-Feb-17 13:10
janairie1-Feb-17 13:10 
private void fnLoadSignature()
       {
           try
           {
               SqlConnection con = new SqlConnection(conString);
               con.Open();

               string sql = "SELECT SignatureOfMember FROM CIF WHERE CIFKey = '" + txtcifkey.Text + "'";
               cmd = new SqlCommand(sql, con);
               object value = cmd.ExecuteScalar();

               byte[] data = (byte[])cmd.ExecuteScalar();
               //MemoryStream - creates a Stream whose backing store is memory. Library: System.IO
               MemoryStream strm = new MemoryStream();

               strm.Write(data, 0, data.Length);

               strm.Position = 0;

               System.Drawing.Image img = System.Drawing.Image.FromStream(strm);

               BitmapImage bi = new BitmapImage();

               bi.BeginInit();

               MemoryStream ms = new MemoryStream();

               img.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp);

               ms.Seek(0, SeekOrigin.Begin);

               bi.StreamSource = ms;
    error is her------ bi = SigPics.Cursor;
               bi.EndInit();

               //SigPics.Source = bi;
           }
           catch (Exception ex)
           {
               MessageBox.Show(ex.Message);
           }
       }

AnswerRe: how to load signature pad in c# Pin
Dave Kreskowiak1-Feb-17 13:20
mveDave Kreskowiak1-Feb-17 13:20 
AnswerRe: how to load signature pad in c# Pin
OriginalGriff1-Feb-17 21:35
mveOriginalGriff1-Feb-17 21:35 
GeneralRe: how to load signature pad in c# Pin
Daniel Pfeffer1-Feb-17 22:13
professionalDaniel Pfeffer1-Feb-17 22:13 
AnswerRe: how to load signature pad in c# Pin
Richard Deeming2-Feb-17 2:31
mveRichard Deeming2-Feb-17 2:31 
AnswerRe: how to load signature pad in c# Pin
Eddy Vluggen2-Feb-17 2:46
professionalEddy Vluggen2-Feb-17 2:46 
QuestionC#: How to copy excel cell range and chart data to power point slides Pin
Tridip Bhattacharjee31-Jan-17 2:18
professionalTridip Bhattacharjee31-Jan-17 2:18 
AnswerRe: C#: How to copy excel cell range and chart data to power point slides Pin
#realJSOP1-Feb-17 7:05
mve#realJSOP1-Feb-17 7:05 
QuestionHow to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu29-Jan-17 23:35
professionalTarunKumarSusarapu29-Jan-17 23:35 
AnswerRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
OriginalGriff30-Jan-17 0:05
mveOriginalGriff30-Jan-17 0:05 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu30-Jan-17 0:33
professionalTarunKumarSusarapu30-Jan-17 0:33 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
OriginalGriff30-Jan-17 0:45
mveOriginalGriff30-Jan-17 0:45 
AnswerRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
CHill6030-Jan-17 1:44
mveCHill6030-Jan-17 1:44 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Richard Deeming30-Jan-17 2:09
mveRichard Deeming30-Jan-17 2:09 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
TarunKumarSusarapu30-Jan-17 19:28
professionalTarunKumarSusarapu30-Jan-17 19:28 
GeneralRe: How to convert total database columns datetime to date in the format of dd-mm-yyyy Pin
Pete O'Hanlon30-Jan-17 19:43
mvePete O'Hanlon30-Jan-17 19:43 

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.