4,588 Topics
| |
im really stuck with this program as i was sick when this unit was covered and havent a clue on how to write it *crys* and i dont get it done iv been told i cant do the course for next year dispite passing everything else. level 1 1. get … | |
There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same | |
Hi, Can anyone get the translation of this xaml code to c# code? In order words, I am trying to set listbox items to be displayed in the textblock encapsulated by stackpanel, datatemplate and within listbox.itemtemplate. I am trying to do this from the back end and not using databinding. … | |
Hi there, I'm new to C# and I have to admit it feels very overwhelming. I was wondering if anyone could help me and explain it to me so that I can understand. Here's my code... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Counter1 { public class Counter … | |
Hey can anyone tell me how to give an icon image to the project...............the icon image is also attached below | |
may i know how to convert Char to String in C#? tq. | |
hey i've made a project...........in that form1 is the main page............can anyone tell me how to make form2 as the main page............. | |
can anyone help me........... i've created a form1 with a progressbar............and i want the form1 to close at the time when the progressbar reaches 100.........and at the same time i want form2 to display............ can anyone help me to do that............ | |
Dear All, I need to draw a line between any two area's stated in the geographic map( like google map ). From where I can get these kinds of map or can I implement it using ASP.NET/C#. This should be very similar to getting the direction between two places in … | |
[CODE] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="managesurveys.aspx.cs" Inherits="managesurveys" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <script type="text/javascript"> function newAttribute() { var d = document; // get field labels var lbl_attribute_new = document.getElementById('js_lbl_attribute_new').value; var lbl_attribute_del = document.getElementById('js_lbl_attribute_delete').value; var lbl_property_new = document.getElementById('js_lbl_property_new').value; var lbl_property = document.getElementById('js_lbl_property').value; … | |
Hi Folks, I'm hoping this is a trivial question with an equally trivial answer. I've got a C# program that I'm experimenting with, which simply passes an array of doubles and the size of the array to a C++ DLL. The DLL will then simply add 500 to each element … | |
[code]private void webpage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { SqlCommand cmd = new SqlCommand("SELECT * FROM [blacklist] WHERE BlackListed_Sites = '"+ webpages + "'", cs); cs.Open(); cmd.Connection = cs; SqlDataReader reader = null; reader = cmd.ExecuteReader(); if (reader.Read()) { CheckState.Checked.ToString(); MessageBox.Show("Blocked"); } else { string url = ComboAddress.Text; if (url == "") … | |
Hi.... I have just written a c# code which connects to a web server.... Pulls out xml, extracts data and inserts the data onto a database..... however i have a small problem scrubbing certain data of junk values..... few examples of the data i want to scrub are posted below... … | |
I want to send simple mail from my web application through asp.net c# code. I have lot of sample codings to send mail but i need a proper guide to enable smtp server in my localhost since i dont have any static ip or web server. My system is in … | |
C# double click datagridview record, show data to textbox/combobox. | |
I have 5 strings, such as: "one", "two", "three", "four", and "five". I need to get all permutations of these words. I've explored all internet resources, but all solutions are so bulky and it's hard for me to understand it and integrate it to my program. So, maybe you know … | |
| Hi Guys, I have two forms (Main and Sub). There will only ever be one instance of Main, but can be many open windows of the Sub form. What I want to do is know which Sub form was the last form to have focus when switching to the Main … |
A practice exercise requires the creation of a text file with 4 lines of info for cars, VIN, model, manufacturer, and year repeated over and over for different vehicles. This I do with StreamWriter and have a simple multiline text file as follows: 111111 Echo Toyota 2005 222222 Accord Honda … | |
Is it possible to read the registry from VS C# 2010 Express? I don't seem to have all of the necessities in the autocomplete selections: [CODE] RegistryKey key = Registry.LocalMachine; [/CODE] I have "using Microsoft.Win32;" imported and what happens is it doesn't seem like the object is created. I've seen … | |
hey can anyone tell me how to remove the delay in webcam video streaming..........i've created a webcam capturing project but find little delay in the video streaming | |
Hello, I posted yesterday regarding my issues with adding rows to a database, this is now solved and I am grateful. Once the rows were added to the database the list box that displays one column of the database did not update so I included the following code after the … | |
First I want to thank you for the help and I am somewhat new at C# so forgive me if I have something listed wrong. This is what I got: I am working on a school project designing a car dealership website. I have an inventory list that allows you … | |
Hello, I am quite stuck. I have my database running on a seperate machine from where I am writing my application. The connection between Visual Studio and the database seems to be fine as I can display data in various controls on the GUI. My problem arises when I try … | |
hello all, I have database named 'Marketing', and want to bound DropDownList control with it using 'add connection' dialog box in the C#.net. I gave datasource: 'Microsoft SQL Server Database File (SqlClient)'. And when I give DataBase file name as 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\Marketing_Data.MDF', I get error while testing the … | |
Hello expert, I had a problem in C# datagridview. I want display last month data or ?days only when form load. I know use SQL query. But the problem is at datetime and string. my idea is today date - 30 days. [CODE]private void OT_Load(object sender, EventArgs e) { ConnectionStringSettings … | |
Hello everyone , Is there any way to add dll reference to a c# proj at runtime ..... FOr eg i hav windows form called form1.cs and dll called projlib.dll. Now when i click a button the reference to the dll should be added at runtime. I.e programatically add dll … | |
Hello ppl, I have recently started C# and while going through initial pages of bitwise operators 1 doubt came into mind. v know dat int is of 32 bits in C#. Suppose i take a number and assign some value to it and then after left shifting it by 32,the … | |
c# interview questions are generic collection faster. I had a argument with the interviewer and my thought is they are not faster please help. | |
I'm got write a simple calculation. which only use % and / .but when i key in different number. the result is different.Who can help me. [CODE]private void button1_Click(object sender, EventArgs e) { decimal x = txtPer.Value; decimal y = txtQty.Value; decimal j= y / x; decimal k = y … | |
Greetings to all, Wondering if someone can help me with a basic VS C# problem? Help much appreciated. I can read my plain text file into an array and display one line at a time on the console with this code. int indexInt = 0; string fileString = ""; string[] … |
The End.