4,588 Topics

Member Avatar for
Member Avatar for tbanisida

Hai Friends This is Bency. I need a help for type a word in textbox in tamil word in c#.. Advance thanks

Member Avatar for geniusvishal
0
906
Member Avatar for MARKAND911

I used following code to connect oracle database from C#. But i get this error "**invalid login credentials**" using (Oracle.DataAccess.Client.OracleConnection cn = new Oracle.DataAccess.Client.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;") { cn.Open(); } While if i try following code to connect database from C# I succeed. using (System.Data.OracleClient.OracleConnection cn = new System.Data.OracleClient.OracleConnection("Data Source=abcSource;User Id=abcUserId;Password=abcPassword;")); …

Member Avatar for RvSon
0
193
Member Avatar for penguin22

Hey guys i'm trying to figure out how to open a new message window from outlook when i click a button on my form any help greatly aprreciated thanks.

Member Avatar for Ketsuekiame
0
1K
Member Avatar for hookedtocsharp

The scenario is, If the user has logged in for the first using his one time password it should get redirected to ResetPassword.aspx If the user is not new, then should get redirected to Main.aspx page. Should I use IsPostBack or Membership.ValidateUser? How do we usually code in c# to …

Member Avatar for Ketsuekiame
0
222
Member Avatar for hirenpatel53

Hi all I am Using following Line Of <a href="HostInactivityTest.aspx?HostID={$iHost}&amp;HostNames={$HostName}" Target="_blank" style="font-size:8pt;font-family:Verdana;color:orange;font-weight:bold,text-align:left;"> Problem with this code is it opens new window with IE that is fine for me but newly open window shows URl,MenuBar,BookMarkBar that i dont want show in that child window so Anyone hase idea about this Please …

Member Avatar for scudzilla
0
241
Member Avatar for gunnerone

Hi, I have this simple program that should draw a cube for the user by reading the data in from a text file which looks like this. 8 100.0 100.0 -100.0 -100.0 100.0 -100.0 -100.0 100.0 100.0 100.0 100.0 100.0 100.0 -100.0 -100.0 -100.0 -100.0 -100.0 -100.0 -100.0 100.0 100.0 …

Member Avatar for Ketsuekiame
0
434
Member Avatar for rajendradhakal

Previously i've done it in VB6 in following ways: for lock database Sub lockDb(bPath As String) On Error GoTo Ermsg Dim iFreeFile As Integer Dim lLoop As Integer Dim sString As String iFreeFile = FreeFile() 'Get free file # Open bPath For Binary As #iFreeFile 'Open specified file for binary …

0
64
Member Avatar for Counterpartz

Hello, I'm writing an application that computes the variance and average from a list of integers. Here is the assignment info: Create a function that accepts a list of integers and computes the average and variance of the list. The variance is computed using the following formula. The list of …

Member Avatar for Counterpartz
0
305
Member Avatar for shaun.b

Hi, I have finished developing the first release of my application which uses MySQL (locally under one license and hosted under another). Connecting the application to the hosted database works fine, i edit the connection details within my application to the hosted server details and it works fine. However, when …

Member Avatar for pritaeas
0
214
Member Avatar for waleed.makarem

Gentlemen, I have found a very nice tooltip control on the following link http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6967&lngWId=10 I tried to convert it to vb.net , and the solution works , but with some error . I beleive it is related to the namespace issue. Please check attached file for the C# source code …

Member Avatar for waleed.makarem
0
342
Member Avatar for robgeek

Hi guys, I am facing some issues trying to deploy my application developed in c# in visual studio. I created a setup/.exe using InstallShield for visual studio 2012 with all the required files for the project included. The target machine where I want to deploy this application is running windows …

Member Avatar for robgeek
0
253
Member Avatar for robgeek

Hi guys, I am facing some issues trying to deploy my application developed in c# in visual studio. I created a setup/.exe using InstallShield for visual studio 2012 with all the required files for the project included. The target machine where I want to deploy this application is running windows …

Member Avatar for Ketsuekiame
0
219
Member Avatar for Fahhad

USE [Emp1] GO CREATE FUNCTION [dbo].[Leave] ( @EmployeeID INT ) RETURNS INT AS BEGIN DECLARE @PayLeave INT, @NonPayLeave INT; SET @PayLeave = 0; SET @NonPayLeave = 0; RETURN ( SELECT IF((ImDescription == "Sick") AND (ImLeaveType == "Yearly")) { IF((ImMonthlyMaxLeave > 1) OR (ImYearlyMaxLeave > 10 )) { @NonPayLeave = @NonPayLeave …

Member Avatar for adam_k
0
295
Member Avatar for blaze007

I have a text file containing the following content: 0 12 1 15 2 6 3 4 4 3 5 6 6 12 7 8 8 8 9 9 10 13 There are no spaces between two rows but there is a space between two numbers. I want to read …

Member Avatar for ddanbe
0
379
Member Avatar for sanket2013

hi friends, i want the functionality like to bind images to dropdown which has been shown in below url. http://hotels.jetairways.com/templates/376171?lang=EN&currency=INR In above url, when u click on INR Rp, which displays all currency with their images, the same functionality i want. plz helped me out.

Member Avatar for JorgeM
0
42
Member Avatar for ahmzy

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Xml; using System.IO; namespace Enrolement { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { /* This part of my code imports the …

Member Avatar for ahmzy
0
1K
Member Avatar for shaun.b

I am about to deploy my application and have came into a bit of trouble. I have the connection string for the database held in the application.settings and need a way to check if the database exists when the program first starts up, and if it doesn't, i need the …

Member Avatar for AleMonteiro
0
609
Member Avatar for gamers18

Hi, ive been trying to print out a dictionary item with its List but im so confused about it. Basically I created a dictionary and I managed to add an Item to the dictionary(as a Key) and List of something (as value) Dictionary<String, List<string>> dic = new Dictionary<String, List<string>>(); public …

Member Avatar for tinstaafl
0
5K
Member Avatar for anisha.silva

Hi, I am getting a xml object from as a web response for getting data from a web page the content is as : " <bookshare>\n <version>4.1.1</version>\n <messages/>\n <book>\n <metadata>\n <author>David Flanagan</author>\n <available-to-download>0</available-to-download>\n <bookshare-id>21385</bookshare-id>\n <brief-synopsis>The 1.4 release of Java 2 Standard edition brings a load of new features - and …

Member Avatar for anisha.silva
0
333
Member Avatar for robnederland

Good morning DaniWeb community, I've been coding a while in Classic ASP with MS SQL, but now it's neccesary for me to take the plunge into ASP.NET, C# in particular. I have a lot of data in SQL, and I would like to know where to start, I know how …

Member Avatar for robnederland
0
111
Member Avatar for vegaseat

This short piece of code shows you how to display text in color in a C# windows console program. The corresponding WIN32 API functions are in the kernel32.dll and are imported and declared external. The only other problem is to assign variable types that accommodate the types listed in the …

Member Avatar for KrayZVIII
0
1K
Member Avatar for Counterpartz

Hi, I'm having a little trouble with an assignment for my C# class. (The professor doesn't explain specifics, just the basics, and he isn't any help, he's extremely shy and awkward) using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assignment_2_ITM_225 { class Program { static void Main(string[] …

Member Avatar for tinstaafl
0
238
Member Avatar for sukhanya

I have 'bit' datatype in db. I convert its equivalent datatype to 'bool' in c# when i declare. protected bool e_Status; And when I set the property for the above, public bool Status { get { return e_Status; } set { e_Status = value; } } Now how do I …

Member Avatar for sukhanya
0
801
Member Avatar for pwolf

I'm new to c# programming, and I am a little stuck on how to make a variable available across multiple forms. I read that i should make a public static class, however, my code is as follows: private void btnLogin_Click(object sender, EventArgs e) { accountNo = txtBoxAccntNo.Text; valid = validate(); …

Member Avatar for ddanbe
0
342
Member Avatar for fsefsef23

I'm making a calculator that performs operations sequentially (from left to right, not precedence), using ASP.NET/C#, but I'm having trouble trying to get the loops going through the input box string in my code behind. Obviously to me the logic seems to make sense, but for some reason, I get …

Member Avatar for ddanbe
0
323
Member Avatar for gileadslostson

I am using umbraco and have set up an event handler to replicate content nodes created in the back office for a multilingual site. I am now trying to attach this to a custom context menu item via a web service that gets the return value of a js confirm. …

Member Avatar for LastMitch
0
185
Member Avatar for kozer

Please can someone help me and send me in the right direction. I am making a program that reads a text file and then out puts the data into a datagrid, the text file looks like this: [HRData] 84 73 0 -124 0 50 84 73 0 -124 0 50 …

Member Avatar for Ketsuekiame
0
849
Member Avatar for n1csaf3

I have been trying to call a C++ function in a DLL, from a C# WPF application I'm working on. I've done it before and it's worked but I can't remember how I did it and can't seem to find an example that works for me. I'm doing something wrong …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for peymankop

Hi! i'v got problem in visual c#... i want that when i enter a position in my form in a text field then the button that is in the same position get activated... how can i do that? i'm beginner in Visual C# so is there any method for doing …

Member Avatar for ChrisHunter
0
235
Member Avatar for techinvest

The End.