Advertisement

250 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C# Solutions: 126 - 150 of 5709
 
Hello, I am working on a project in which I am receiving image data as an array of bytes (1-byte per pixel).  Each byte represents a greyscale integer (0-255).  In order to perform a nu...
In C#, how do I assert a value equal to 1 and     raise an exception / perform some action    if it is not?
Hi Guys, I'm trying to open a .SDF datadase file. The file was previously created on a PDA and subsequently transfered to my laptop where I have SQL Server Express installed. In the applic...
I am interested in learning WebDAV, especially in C# applications. Please post all good LINKS to tutorials and general reference material on the subject. I will split the points as I see...
Hey Guys, I am dynamically creating buttons, on which I want to add on click event. I would also like the name of the button to be put in to the string. here is my loop that creates the ...
Using C# in ASP.Net Vs 2.0. I am trying to find code to calculate the difference in days between two dates. The code must not use the DateTime or any other date functionality provided within ...
Hey there, I was wondering if I could get a browser window to close using a button (using onclick event) in C#, if not how would I do this?? Stelly
I think I just need a fresh set of eyes to look at the following code.  I've got a page that fills a DataTable with user information from our Active Directory.  I want to have a button that du...
What is the best way to transfer data between forms: Example: I want to show form1 which has a textbox where the user enters a number, from that number I want to show another form that m...
Hi, I've written an app that dumps COM+ configuration information to an XML file. Here's a portion of the XML file. <applications>   <application>     <name>XkJlCrdGeneral</name>  ...
Hi, How to encrypt password using SHA256 ? my input password is "4231" And output storage key is "0x0D8443883FF99D44DA3BCC5AC719FE26D4B148A1B847059B20A9922591561A5B" (in database) could...
Hi, I have a form with 3 panels 1 at the top one at the side for navigation and the main panel. I am trying to find out the best way to show another form as this panel. I have the main form...
Hi I need a best practice example of the asp.net login control that authenticates a user in code using sql membership provider.  
I need to put data in the first 5 columns of a datatable into excel usin C#. I tried to start writing it, but I am stuck. I am not an expert at this stuff by no means here is what I have so fa...
Hello Experts, I am looking for an equivalent to ShellExecute in C#. I know that this can be accomplished with System.Diagnostics.Process.Start. However I would like that the console applic...
I am getting the following error during during compilation: c# Cannot implicitly convert type 'long' to 'int'. An explicit conversion exists (are you missing a cast?)
 Hello All,  Please help me, this is urgent,  I want to kill a process using c# code in one windows application project, this is a requirement in my project.  I have only process na...
Hi, I am working on C#, ASP.net 2.0 I have created a dynamic dropdown and added in the HTML Table and it displays fine with data. In the form there is submit button. on submit clic...
Hello if I have a string like string str = "this is my really long string this is my really long string this is my really long string this is my really long string this is my really long...
Hello, I would like to create something like the option-window of firefox. On the left side you have a listview or treeview and on the right side you have the different panels. In my case...
Hi! I'm looking for a Multi-Column TreeView control to use with asp.net 2.0. I searched a lot but not found one that fits my needs. The closest one I found that I tried to adapt is this ex...
Can a GridView column be updated without using the DataSourceID?  I am binding my GridView to a DataTable on the page_load event.  How can I make this GridView to allow a column to be updated?...
Anyone have any good recommendations for how to do reports in C#.  I am working on a desktop application and I want the user to be able to create various reports and print them.  It's was easy...
how do i convert numbers in string format to int? i tried:      String strtab;      int tab id;      tabid = Integer.parseInt(strtab); and      tabid = (int)strtab; but both return ...
I'm using a databound DataGridViewComboBoxColumn in my DataGridView control. I'm setting up a button which will change the 'selected item' of the combobox to a specific item for each row's com...