csharp

  1. 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) {...
  2. 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
  3. 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...
  4. 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 .
  5. 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;}...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. dtoxic

    Question Windows Application to Maintain Fuel Dispensers Readings and Sales

    Hello C Sharpers... This is dtoxic, my experience in C# is "Hello World":hopelessness:. I have been recently appointed at a fuel station as a Data Entry Operator, there is no POS (Point of Sale) system installed here. All the data is maintained manually with pen and paper. It is actually a...
  12. V

    Drop Down List Giving Incorrect Values

    Hi everyone, I have followed the following tutorial for my project: https://www.youtube.com/watch?v=h_ViuyVs4AE The issue that I have is that when I click an item in the first drop down box, it does not give the correct values in the second box, it only gives one value and it is incorrect. It...
  13. A

    Question Form invisible for some users

    Hi, I have a table in SQL with users, and some forms created with C# form app. My question is: "How can I make some forms invisible for some users(selecting users by username or ID)? In other words, I want do disable for simple users to make changes in a form.(disable authorisation) Best regards
  14. V

    Arrange List by Distance [Xamarin]

    Hi Everyone, The app that I am working on currently has user details stored in a db and if you click on any user it will show you their details and also their location pin pointed on a map below their details. What I want the app to do is use my current location and then display the users who...
  15. S

    Question How to call a stored procedure in a method to get the result in an array list?

    I need to call a stored procedure in one method to get the data and display it in one column of html table. the rest of columns are displayed by another methods and actionresults. (it's a mvc repository application). right now I can show the result of stored procedure in grideview, each column...
  16. M

    How do I check for Cell phone in if statement?

    Can someone please explain to me how to check the CELL phone using the same query that I used to check for the HOME phone in my if statement? If type HOME is not found I want to get type CELL, if that is not found, I want to get type WORK, if that is not found, I want to find type FAX in that...
  17. U

    Question Datagridview Not populating

    Hello, i have a method private void FillLevyRoll(), i put the method in a button on click event to fill a datagridview dgvLevyRoll my problem is when i run i am not getting an error and the dgv is remaining empty.Im lost confused tried but to no avail.The query works in SQL management studio...
  18. B

    Tip Backup and restore Sql Server database

    This article explains how to Backup and restore Sql Server database using C# step by step Backup and Restore Sql Server database in C# - FreeLearningDz
  19. E

    (Austin, TX) Wanted: .NET / C# Developer with a heart of gold

    Wanna work with a bunch of a$$h0les? Neither do we. Good Character = Good Culture At Engagency, culture is the natural result of attracting good people. We believe that a good company culture depends as much on what you give, as what you get. It?s the character of each individual that defines...
  20. NiceGirl13

    WPF error "the connectionString property has not been initialized"

    I have created a WPF project, where a user can insert the Servername in a textbox, and the connection should be saved in the app.config (in Runtime), ones that is done the data from a DB table should be loaded in the datagrid. When i press the connect button (after inserted the servername in the...
Back
Top Bottom