csharp

  1. S

    Question I want my WPF program uses user's cookie

    so basically I want my 3rd party program (which will be created using c# on WPF) be an interface between the user and that site. Using WebBrowser class I wanna load the login page and after the user logged in(and passed CAPTCHA), he/she will fill some fields in the program, and the program will...
  2. N

    Question error: System.FormatException: 'Input string was not in a correct format

    I am getting a error when trying to create a Form that will randomly display 3 values of 3 Dice for 2 players and will compare the numbers and displays who won. The is running great but it started show me an error after I put the IF statement. The code runs but it returns the error when I click...
  3. A

    what i write inside loop to display similar item code on datagridview and insert diff

    Problem what i write inside loop to display similar item code on datagridview and insert different itemcode on database sql serverSQL Server Database(2014) Items Table ItemCode(pk) ItemName 001 mouse 002 keyboard 003...
  4. C

    Question BackgroundWorker. How do I display the current process by navigating through the Tree

    Scenario_1. 1. The user. Presses the "Start" button; 2. The program. Creates an instance of the user element "ucBackgroundWorker" in "flowLayoutPanel1"; 3. The program. Creates a node in the "treeView1"; "Scenario_1" can be repeated an unlimited number of times. Scenario_2. There are: - Several...
  5. C

    Question BackgroundWorker. Multithreading. How do I run multiple forms?

    There is - the main form is "Main.cs". - form with "progressBar" - "progressBar.cs" Scenario: User. The form is "Main.cs". Presses the "Start" button three times. Program. Opens three forms of "progressBar.cs" How to make the data from the progress percentage "progressBar" get in real...
  6. H

    Question Start in learn WPF and I have a little problem...

    I have read this book https://www.tutorialspoint.com/wpf/wpf_tutorial.pdf and on page 22,23 this code example do not run.... and Am I missing? UserControl1.xaml using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using...
  7. P

    Question The SMTP server requires a secure connection or the client was not authenticated. Th

    Dear Friends, I am trying to send email through gmail.Getting error "The SMTP server requires a secure connection or the client was not authenticated.The server response was: 5.5.1 Authentication Required". try { SmtpClient clientSMTP = new...
  8. H

    Question Looking for new and popular in the future c# framework and technology

    I work in my company as c# developer mainly on Winform for desktop something about a year and looking for updating my knowledge in new framework and technology that will be popular in the future... Mainly for desktop /server-side. Can be also for client-side Thanks
  9. H

    Dublin, Ireland: Senior Developer C#, Xamarin - Permanent

    PERMANENT Full-time position Below is an outline job description. If you are interested or have any questions, please email to Angela.Nguyen@virtusllc.com directly. Senior Developer - Dublin, Ireland Tracking Code 611-171 Job Description IT professional experienced in .NET programming...
  10. R

    Question display dynamic Database relational schema

    im working on making an automatic OLAP cube with C# i need little help how to display an relational database schema (the database is taking from the SQL server )
  11. R

    Question number in error log

    Personal, I would like the following information, I have a validation, and in this validation I send a message in the application to the user that the cell G of the line should be filled, my code looks like this: private void PreliminaryVerification(IEnumerable<DataRow> data) {...
  12. A

    Question The item with identity [x] already exists in the metadata collection

    Is not more nedded. I try delete the post, but no find this option
  13. B

    Question How to correctly made two depending Comboboxes?

    I have a problem with two dependent Combobox. I want to do the dependent Comboboxes. When selecting an area in combobox1, a free taxi located in this area should be displayed on combobox2. I found this video on YouTube and tried to use the code in this video...
  14. C

    Question Problem with WPF Slider ValueChanged action.

    So, on ValueChanged action I have this line: freqtext.Text = Convert.ToInt32(freq.Value) + " Hz"; When I compile project it starts and shows me an error: Sorry for "?"s .
  15. I

    Dapper Extensions - Methods not accessible by MySqlConnection

    Hi I installed Dapper and Dapper extensions from the NuGet package Manager but I'm not able to use methods like Insert, Delete, etc... Is there something amiss in my project. I have a model using Dapper; namespace TBT.Models { publicclassCategory { publicintId{ get;set;}...
  16. VickyMalhotra

    Question Backspace Function

    hi guys i want to program a backspace function for my Scientific Calculator Project i coded something like this private void button48_Click(object sender, EventArgs e) { textBox_Result.Text = textBox_Result.Text.Remove(textBox_Result.Text.Length - 1); if...
  17. I

    Add form in View at runtime

    i want a form containing a text bar to appear when comment is clicked <li><a href="#" id="comment">Comment</a></li> I couldnt do it using razor so I tried writing a Jquery script <script type="text/javascript"> $('#comment').click(function () { $('div#txtcmd').html...
  18. Y

    Question Cross domain single-sign-on / social login

    I am looking for someone who can help me with authentication I work with C#.NET 4.5 I have multiple MVC websites, 2 webapi's and a ****load of clients which are javascript based (angular2 ,vue etc etc) and apps. everything (except the apps) are hosted on azure. I want to be able to login using...
  19. I

    Tip How to capture a variable and not to shoot yourself in the foot

    Back in 2005, with the release of C# 2.0 standard we got a possibility to pass a variable to the body of an anonymous delegate by capturing it from the current context. In 2008 the C# 3.0 brought us lambdas, user anonymous classes, LINQ requests and much more. Now it January, 2017 and the...
  20. D

    Is it possible to convert JSON data in C#?

    Hi there, I am DBA with zero C# programming experience however I would like to ask all C# programmers out there how they would handle large JSON data. Currently I have a very slow query when trying to convert filestream NVARBINARY(MAX) stored JSON data into NVARCHAR(MAX) from within SQL Server...
Back
Top Bottom