4,588 Topics

Member Avatar for
Member Avatar for gahhon

I am done with the payment by using Paypal sandbox.. but i am wondering whether can i change the statement of return (default: Return to gahhon@hotmail.com - according to my email address)? string paypalURL = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" + email + "&item_name=Olympia Open College Tuition Fees + " + programmeName + "+" …

Member Avatar for LastMitch
0
100
Member Avatar for sbharani

I want to send string and save in different computer's database using c# using Asynchronous Any body Plz Help me finding a Solution

Member Avatar for pitic
0
302
Member Avatar for adem87

string location = Environment.CurrentDirectory; string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source =" + location + "\\harita.accdb"; // get records from the Shippers table string commandString = "Select x from map"; //create the data set command object and the DataSet OleDbDataAdapter DataAdapter = new OleDbDataAdapter(commandString, connectionString); DataSet ds = new DataSet(); // fill …

Member Avatar for ddanbe
0
161
Member Avatar for anisha.silva

Hi, I have a jaso object that i am getting from a API access. how do i deserialize the jason object in C# so that I can get the papameter values. JavaScriptSerializer js = new JavaScriptSerializer(); bookshare bs = js.Deserialize<bookshare>(response); string a = bs.version; when i do this for string …

Member Avatar for anisha.silva
0
228
Member Avatar for sahilkharidia

outlook temperature Humidity Windy PlayTennis sunny hot high false N sunny hot high true N overcast hot high false P rain mild high false P rain cool normal false P I found out unique elements from file and their occurence ( ignored the elements whose occurence was less than 1(taking …

Member Avatar for Ketsuekiame
0
194
Member Avatar for sanket.patil

Hi friends i have used autocompletextender in my C# asp.net form . but it's not working fine. i have used following code. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:ScriptManager ID="script" runat="server" EnablePageMethods="true"> </asp:ScriptManager> <asp:TextBox ID="txtServiceCityLocal" runat="server" Style="width: 292px; margin-left: 150px; border: solid 1px #747474"> </asp:TextBox> <asp:AutoCompleteExtender ID="AutoCompleteExtender2" runat="server" TargetControlID="txtServiceCityLocal" ServiceMethod="GetCountries" …

Member Avatar for cyberdaemon
0
358
Member Avatar for denmarkstan

Good day people! I have a problem with my C# window application. I can't insert new record to database. I have sought for many tutorial in ADO.net and Entity Framework. I have been tackling it in Entity Framework because that is my preference. My piece of Entity Framework code would …

Member Avatar for arunkumars
0
288
Member Avatar for IT_Techno

hi i have create database with tables using sql server 2008, having table named 'Users' i have create this stored procedure : USE [Licenses_DB] GO /****** Object: StoredProcedure [dbo].[InsertUser] Script Date: 02/17/2013 23:25:06 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[InsertUser] @ID int , @userName NVARCHAR(50), …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for riahc3

Has anyone worked with C# and OAuth 2.0? Documentation/examples is VERY poor on how to do a simply login. Thank you

Member Avatar for riahc3
0
209
Member Avatar for rrr12345

Hello guyz, I am trying call oauth/request_token in order to oauth_token and oauth_token_secret. First here's the code string url = "https://api.twitter.com/oauth/request_token"; SortedDictionary<string,string> sd = new SortedDictionary<string,string>(); sd.Add("oauth_callback",oauth_callback); sd.Add("oauth_consumer_key",oauth_consumer_key); sd.Add("oauth_nonce",oauth_nonce); sd.Add("oauth_signature_method",oauth_signature_method); sd.Add("oauth_timestamp", oauth_timestamp); sd.Add("oauth_version",oauth_version); string base_string = String.Empty; base_string += "POST" + "&"; base_string += Uri.EscapeDataString("https://api.twitter.com/oauth/request_token")+"&"; foreach (KeyValuePair<string,string> entry in sd) …

Member Avatar for riahc3
0
336
Member Avatar for rehanul.bappy

How to generate auto id like PA-01-07-2012-0001. Where 01 is the Date of a month,07 is the Month, 2012 is the year, and 0001 is auto generate id and it will be increment. after that it will check The Generated id in database.And create a new id

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

Hi what i want to do is to code a checkbox list. herewith i have attached an imaage. as in the image, if i check business all the checkboxes below it should get checked and if i uncheck all the check box should get unchecked, how do i code this …

Member Avatar for prashant9928
0
2K
Member Avatar for silvercats

int sel = int.Parse(0+dataGridView2.CurrentRow.Cells["invoice_ID"].Value.ToString()); string sql = "DELETE FROM invoices WHERE invoice_id="+ sel +""; DBConnection myCon = new DBConnection(); myCon.EditValues(sql); //mycon.EditeValues(sql) has all the sqldata reader,executenonQuery cmd the error's arrow points out to the first line which is "int sel............".

Member Avatar for JOSheaIV
0
422
Member Avatar for visweswaran28

Hi, I have a web-page, height and width of page exceed the screen size of my display device. I want to take screen shot or print it in pdf of that web-page with that hidden portion too using C#.net. I don't want to call print dialog box. My requirement is …

Member Avatar for ddanbe
0
125
Member Avatar for Counterpartz

Hello, my current assignment states this: "Modify the console application you created in HW1 in the following manner. Instead of using five Console.ReadLine() statements to read the user’s input into the five variables, use one Console.ReadLine() statement that’s inside a loop that executes five times. The rest of your code …

Member Avatar for tinstaafl
0
317
Member Avatar for killer88
Member Avatar for killer88
Member Avatar for killer88
Member Avatar for killer88
0
593
Member Avatar for castajiz_2

I m having a problem when sending my c# projects to a friend via e-mail. Before sending i use WINRAR to compress it however when the other side gets the mail and when it tries to open it, it get s an error ouptut saying: "application not found". When going …

Member Avatar for TnTinMN
0
4K
Member Avatar for dana2292

Hello every one i want know i can read one text file in c# i f we can do it please explean for me how can i do it thanks alot

Member Avatar for castajiz_2
0
399
Member Avatar for silvercats

Let's say I have 3 text boxes called item_name,item_price,item_type. And there is a listbox that has the item_name and another list box that has item_price, another one with the item_type. Let;s say we want to click on the item_name. After clicking on the item_name list box's first item. how to …

Member Avatar for silvercats
0
280
Member Avatar for sundog1

Hi Guys.. Hoping you can help here.. I'm dabbling with Linq as I'm wanting to pass a Node Value from the XML file into the Connection String. Currently my Code seems to be working and holding the Value in the System.(Code Below:)(Screenshot attached also) XDocument testXML = XDocument.Load("C:\\twDB.xml"); var DataBases …

Member Avatar for Ketsuekiame
0
256
Member Avatar for satnav_8

Hey, I'm working on a simple command line program to download some files. I already made a Win Forms version, but wanted to do a command line version. The Win Forms app works exactly as it should, but I'm having some trouble with the command line app. Heres my code: …

Member Avatar for satnav_8
0
5K
Member Avatar for wizzy-cool

Hello all, i am new here and i find this forum really interesting. I have been facing an issue for some time now and hope someone could help me out here. I have a project which i have been trying to add a printing module to be able to show …

Member Avatar for tinstaafl
0
236
Member Avatar for antrock101

Hello i'm getting theses to error with my sql code can anyone help me ot at all i'm really lost and can't find much to help where i'm going wrong.Code is below Error 3 The best overloaded method match for 'System.Data.SqlClient.SqlCommandBuilder.SqlCommandBuilder(System.Data.SqlClient.SqlDataAdapter)' has some invalid arguments Error 4 Argument 1: cannot …

Member Avatar for james6754
0
225
Member Avatar for Mariann

How to handle null values in C#. When I am entering characters in a char array i want to leave some values blank or empty (null). But when i do that my program terminates giving me an error. The error is shown in the pic below. What should i do …

Member Avatar for ddanbe
0
234
Member Avatar for bbt2d

I am new to c# and I am working with a xml file. I have appended to an existing sample file, but the formatting is off and some of the xml elements are missing. What I am working toward is appending to it 10 times just changing the number for …

Member Avatar for tinstaafl
0
249
Member Avatar for stacey.sell.3

Hello I am having problems completing thi code in C# can someone please tell what I am doing wrong.I ge Error Error 1 Program 'C:\Users\stacey ann loretta\documents\visual studio 2010\Projects\EmployeeEceptionDemo\EmployeeEceptionDemo\obj\x86\Release\EmployeeEceptionDemo.exe' does not contain a static 'Main' method suitable for an entry point EmployeeEceptionDemo using System; using System.Collections.Generic; using System.Linq; using System.Text; …

Member Avatar for tinstaafl
0
262
Member Avatar for dana2292

hello every one i'm a new member in this web site i'm really happy coz i found the best web to leran the computer language it is will be better if some one explean for me the array in c# and syntax of using array , i hope some one …

Member Avatar for dana2292
-1
432
Member Avatar for amiralirezaei

Hi guys i was trying to integrate a very basic Client/Server chat software with Caesar Cipher. i just wanted to encrypt the communication using Caesar cipher. the Client/server chat software is using TCP sockets.i tried and integrated the cipher on client side but it encrypted all texts and its not …

Member Avatar for ddanbe
0
2K

The End.