csharp

  1. 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...
  2. 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...
  3. 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...
  4. 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
  5. 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...
  6. 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...
  7. A

    Question draw circle

    Hi I want to create function to draw circle put using this : nx = x + r *Math.Sin(th * 22 / 7 / 180); ny = y + r2 *Math.Cos(th * 22 / 7 / 180); and draw them in picture box using SetPixel method.
  8. kiln23

    Question Questions regarding deploying a SQL database with app.

    Hi guys. I am new to SQL and I have a few silly questions I'm wondering about. I am a C# developer and have thus far only worked with access, .mdb files. Let's say you develop some software for a client. It;s to be loaded on a few workstations and they need to connect to a central database...
  9. U

    Question How to check a catalog file is signed and certificate detail

    I can check this though signtool.exe and it results in the text output though below command. signtool.exe verify /v /pa "C:\test\ftdiport.cat" And this result the output in verbose mode in command prompt or we can redirect it to a text file as below. Verifying: C:\test\ftdiport.cat Signing...
  10. U

    Question Get catalog file information

    I need to check whether a driver catalog file is created for x86 or x64. So, I loaded the libraries of inf2cat.exe. I am able to create a catalog file with it. But I am not able to get any info about the existing catalog file. I tried below but it is creating empty collection for...
  11. M

    how to set default value in second column based on first column data

    Hi, I have a requirement to get the default value in producttaxcode column based on skutype data. Here is the scenario If Sku Type is Fab producttaxcode column must be A_CLTH_FAB If Sku Type is Swat producttaxcode column must be A_CLTH_FAB If Sku Type is Notion producttaxcode column...
  12. C

    Problem when rendering my game.

    Hello I am making a simple snake game with images using that: private void rendering() { while (true) { if (pbCanvas.InvokeRequired) { //pbCanvas.Refresh()...
  13. N

    Question Problem with SafeNativeMethods on Linux

    Hi, I have a problem calling the class SafeNativeMethods. I use MonoDevelop on Ubuntu 14.04 and I built the OpenNI library from its GitHub, then I wrote a program that references the dll generated by the build ( OpenNI.net.dll ) and It works fine. Now, the problem: I'm using Unity3d. I...
  14. T

    Question Sip webphone in How to get started?

    Hello,I started a simple static website not so long ago to boost my business. But I'm already tired of those annoying calls coming from telemarketers. And I noticed that most customers regret the money for phone calling.For this reason, I though I try the webphone technology to let my website...
  15. J

    Codec priority settings for softphone

    I'm working on a SIP softphone but I got the following problem and I have no idea how to solve it:During an audio call, PMCA codec is used primarily. How to setup codec priority to achieve PCMU will be used during the call?I use Windows 7, C# (Visual Studio), Ozaki C# SIP library and the...
  16. spartan.monkey

    Custom text file name

    Hello i know that the code below can be used to creat and update a text file but is there a possibility that the path to the file can be saved as a string. { string[] lineROLL = { "\nROLL NUMBER\n", rollnumber1.Text }...
  17. spartan.monkey

    Update list via text box

    i have this school registration software. the problem is that i want to update the class automatically with reference to age for example if age is 2 class is begginer if age is 3 class is montessori if age is 4 class is 1 if age is 5 class is 2 if age is 6 class is 3 if age is 7 class is 4...
  18. sanjeewa.nibm

    DataGridview update and Datagridview refresh

    What would be the similarities and differences in DataGridview.Update() and Datagridview.Refresh() methods What are the places to use DataGridview.Update() and Datagridview.Refresh() I'm little confused
  19. N

    Question IP camera viewer with Onvif video analytics

    Dear Developers, We run a little offine/online hat shop and we've installed a Cisco IP camera in the show-window. I want to manage the video surveillance from code. I've found an IP camera NuGet package for building an Onvif viewer in C#, but I need more: I have to count how many people...
  20. I

    Html Parsing Help Needed

    I am trying to write a small app that gets some data from a website....I am using the HtmlAgilityPack to parse the html. I can get most of the data I need to get because it is formatted in a way that makes it easy to locate. there are a few pieces of data that aren't formatted so well and this...
Back
Top Bottom