473,544 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
1,610
thread by: dichudinesh | last post Oct 24 '15 by: madankarmukta
I need to open CSHTML file in WebBrowser Control (In Windows Forms). I am able to open HTML file but CSHTML it is not allowing.
6
8,875
thread by: mbewers1 | last post Oct 20 '15 by: kumarsemail
Has anyone had any problems with the SelectedValue property not functioning properly within the ListBox? If so, how to fix it? Basically, I am binding a list of values retrieved from a select statement in MySQL: /* * Display a list of all the papers stored within the user's database */ protected void Page_Load(object...
0
1,364
thread by: ktpswe | last post Oct 19 '15 by: ktpswe
Hi, When is it estimated for the release of vNext for C# for? Read about a lot of beta versions but no final version yet?
2
1,613
thread by: mrijet | last post Oct 19 '15 by: mrijet
Hi, can anybody teach me or guide me on how to create code for notification alert message using c#?Does we just use message box to create notification to user?Actually I want to create code that give notification message to user such as expired due date on desktop application. Can someone guide doing this thing?
1
1,467
thread by: mrijet | last post Oct 17 '15 by: madankarmukta
Hi, can anyone guide me on retrieve data on ms access using c#? I just want read a specific data such as 1 table got many column So I just want to retrieve 1 row of the data using c# code..can anyone guide me on this?
1
1,370
thread by: srider1969 | last post Oct 5 '15 by: srider1969
Thank you in advance and apologies if this has be covered before. I don't know what key words to use search the forum for what I am asking about. Why would a Dictionary of string to Action's collection initializer require a void method at class scope? private static Dictionary<string, Action> dsa1 { get { return new Dictionary<string,...
1
1,901
thread by: Rizzy Ranger | last post Oct 4 '15 by: Luuk
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace midq6 { class Program { const double pi=3.142;
6
2,922
thread by: ajmalmughal | last post Oct 2 '15 by: ajmalmughal
I am trying to get images from my datagridview and got success, but if some records dont have image or (null), than i got error ( Unable to cast object of type 'System.DBNull' to type 'System.Byte'.). Following is my code: private void dgridEmployees_SelectionChanged(object sender, EventArgs e) { DataGridViewCell cell...
1
1,729
thread by: delei007 | last post Sep 26 '15 by: delei007
hello friend saw some topics their on the internet and would like a help from you, I'm trying to collect the total pages printed, for example a file from a page to print two copies, the total is 2, use the following form but does not bring the value correct. I appreciate any clarification string searchQuery = "SELECT * FROM Win32_PrintJob";...
1
1,357
thread by: themutant | last post Sep 26 '15 by: themutant
A picture would be worth a 1000 words, but I don't see any to post a picture https://www.dropbox.com/s/fi3qwhh36hwmvzl/Capture.JPG?dl=0
0
1,217
thread by: oliverar | last post Sep 22 '15 by: oliverar
I am working on a Xamarin.Forms app, to connect to a bluetooth device and then to select a known service the device is broadcasting. I am using the Monkey.Robotics plugin, which contains an adaptor. That triggers certain Async events, such as DeviceConnected, once this happens I then want to be able to reference the device id variable, so that I...
0
1,197
thread by: oliverar | last post Sep 19 '15 by: oliverar
I am using Xamarin in C#, to build a cross platform BLE app. It is based on this example app using the Monkey.Robotics plugin. All the examples use an `ObservableCollection<IDevice> devices;` line, to populate a ListView with all the scanned results which the user can then manually select, setting a variable to equal that value. i.e. `var device =...
0
1,380
thread by: poooooo | last post Sep 14 '15 by: poooooo
hello, I wanted to call dismapi.dll function in c# code. when I call function DismInitialize() its working fine. next step I want to mount .Wim image file using DismMountImage() function.I got error 122,unable to mount image int hr="Marshal.GetLastWin32Error()" I am calling DismMountImage as-
0
1,459
thread by: rilkar | last post Sep 13 '15 by: rilkar
Upon commiting changes to a row the following method is executed: ... // Commit the value to another function and read back a properly formatted string. E.g. if the value was 123 it will now be 123.00 dataGridView1.Value = Manager.UpdateTransaction(newRow, e.ColumnIndex, dataGridView1.Value.ToString()); ... // the value of the cell...
1
1,286
thread by: kiran338 | last post Sep 12 '15 by: Luuk
Hi, I am lookinglogic for the below issue. When the current calendar date is between January 1 and August 31, add only the previous year in the drop down. For example, if the calendar date is 2/1/15, we would ONLY have the year 2014 available in the drop down. When the current calendar date is between September 1 and December 31, add the...
1
5,449
thread by: JuanPelotas | last post Sep 10 '15 by: JuanPelotas
I want to do a consult in Parallel mode, or which is the better way to do the consult to SQL. The consult spends 3 minutes doing 7 cycles from 7 stocks, but I need that spend less time, maybe by doing the 7 consults at the same time and return the result. My problem with the code is that reader.Read() maybie shock between the consults. ...
1
2,789
thread by: Gide0NaL | last post Sep 7 '15 by: TamarSolutions
Need info how to call class with parameters from other exe make in C# Thanks
2
1,478
thread by: DeafSmith | last post Sep 7 '15 by: TamarSolutions
Part of a table I have requires the pathname to a photostat of the check to placed into a field. Example, c:/foldera/folderb/The Hitchhiker's Guide to the Galaxy.png Well the ' in the name gives me fits. Error 42703.. I tried putting the string in quotes, "\"", but still a no-go. Any ideas? Thanks.
1
1,692
thread by: ramesh1431 | last post Sep 4 '15 by: Kara Hewett
how to insert a new line character between a string name and address in C# program
2
2,394
thread by: tvnaidu | last post Sep 3 '15 by: tvnaidu
I am getting below error, I spent lot of time on net to look for an answer why my build failed due to this error, any idea? thanks in advance CSC : error CS1577: Assembly generation failed -- Referenced assembly 'sample_DotNET' does not have a strong name 1>Build FAILED.
0
1,300
thread by: Annie05 | last post Sep 3 '15 by: Annie05
i have a project that is signed using a strong name now i have to some feature related PDF format for which i have to add reference of AxInterop.AcroPDFVIEWLib.dll & AxInterop.AcroPDFLib.dll . but by add these have error "Assembly generation failed -- Referenced Assembly "AxInterop.AcroPDFVIEWLib.dll " does not have a strong name".
1
6,734
thread by: Varkin | last post Aug 31 '15 by: Kara Hewett
Greetings. I'm new to C#, writing my first program and cannot figure out why I'm getting an error in my foreach loop. I apologize if I'm using the wrong terminology when points things out. So I have a button that calls a Class. The Method reads a file, stores the results in a Dictionary (tried Hashtable first and got the same error). I return...
1
1,491
thread by: ewalsh9898 | last post Aug 31 '15 by: Kara Hewett
while processing the items in a listbox foreach loop, the if (item.selected) never finds expected row(s) The foreach is looping thru the data as expected. <asp:ListBox runat="server" ID="lstFrom" Width="250" Height="200" SelectionMode="Multiple"></asp:ListBox> <asp:ListBox runat="server" ID="lstTo" Width="250" Height="200"...
1
1,354
thread by: Vijaykumar | last post Aug 25 '15 by: Vijaykumar
Using dropdownlist fatching text and value by foreach loop
1
2,158
thread by: Denden | last post Aug 21 '15 by: DeafSmith
Hello, we have a group project in school and we asked to make a simple system, my problem is how do I divide the system into multiple executabls so that I will not be the only one doing the whole thing since this is a group project, maybe one of my classmate will do the updating of the application, I will do the login form, the other one will do...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.