Click here to Skip to main content
15,908,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# not release processes Pin
classy_dog15-Feb-13 10:12
classy_dog15-Feb-13 10:12 
GeneralRe: C# not release processes Pin
Pete O'Hanlon15-Feb-13 10:21
mvePete O'Hanlon15-Feb-13 10:21 
Questionworking with autcad 2007 using c# in windows 7 64bit Pin
AhmedOsamaMoh15-Feb-13 6:13
AhmedOsamaMoh15-Feb-13 6:13 
AnswerRe: working with autcad 2007 using c# in windows 7 64bit Pin
Dave Kreskowiak15-Feb-13 6:44
mveDave Kreskowiak15-Feb-13 6:44 
GeneralRe: working with autcad 2007 using c# in windows 7 64bit Pin
AhmedOsamaMoh15-Feb-13 8:42
AhmedOsamaMoh15-Feb-13 8:42 
GeneralRe: working with autcad 2007 using c# in windows 7 64bit Pin
Dave Kreskowiak15-Feb-13 12:15
mveDave Kreskowiak15-Feb-13 12:15 
GeneralRe: working with autcad 2007 using c# in windows 7 64bit Pin
AhmedOsamaMoh15-Feb-13 22:23
AhmedOsamaMoh15-Feb-13 22:23 
Questionjalali calendar to gregorian calendar code in c# Pin
timana15-Feb-13 4:18
timana15-Feb-13 4:18 
AnswerRe: jalali calendar to gregorian calendar code in c# PinPopular
Richard Deeming15-Feb-13 4:36
mveRichard Deeming15-Feb-13 4:36 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
timana15-Feb-13 5:11
timana15-Feb-13 5:11 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
Keith Barrow15-Feb-13 5:38
professionalKeith Barrow15-Feb-13 5:38 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
Richard Deeming15-Feb-13 5:43
mveRichard Deeming15-Feb-13 5:43 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
timana15-Feb-13 5:58
timana15-Feb-13 5:58 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
Dave Kreskowiak15-Feb-13 6:45
mveDave Kreskowiak15-Feb-13 6:45 
NewsRe: jalali calendar to gregorian calendar code in c# Pin
Eddy Vluggen15-Feb-13 5:09
professionalEddy Vluggen15-Feb-13 5:09 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
timana15-Feb-13 5:39
timana15-Feb-13 5:39 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
Pete O'Hanlon15-Feb-13 7:27
mvePete O'Hanlon15-Feb-13 7:27 
GeneralRe: jalali calendar to gregorian calendar code in c# Pin
Eddy Vluggen15-Feb-13 9:53
professionalEddy Vluggen15-Feb-13 9:53 
AnswerRe: jalali calendar to gregorian calendar code in c# Pin
Amir Mohammad Nasrollahi29-Jul-13 22:11
professionalAmir Mohammad Nasrollahi29-Jul-13 22:11 
QuestionHow to show image contained in DataList to Modal dialog Pin
PramodSawant15-Feb-13 1:54
PramodSawant15-Feb-13 1:54 
AnswerRe: How to show image contained in DataList to Modal dialog Pin
Dave Kreskowiak15-Feb-13 3:59
mveDave Kreskowiak15-Feb-13 3:59 
QuestionFinger Print Image Pin
karthisomu14-Feb-13 20:20
karthisomu14-Feb-13 20:20 
AnswerRe: Finger Print Image Pin
Richard MacCutchan14-Feb-13 23:13
mveRichard MacCutchan14-Feb-13 23:13 
AnswerRe: Finger Print Image Pin
Dave Kreskowiak15-Feb-13 3:56
mveDave Kreskowiak15-Feb-13 3:56 
QuestionHow to Send SMS Messages from C# ? Pin
Azza ALbelushi14-Feb-13 20:00
Azza ALbelushi14-Feb-13 20:00 
hello

i dawnload the code (How to Send SMS Messages from C# using an SQL Database) from code project



i follow the step in it i have installed the required gateway which is ozeki gate way , but i face two problem...one is when i run the C# application and it display the follwing message (The SMSC provider is not registered in your local machine)...

the second when i use ozeki gate way i couldn't send message from it. it show the error number 1360,1366,1361 according.


please guide me tosolve this problem as soon as possible



the code in the is

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;

namespace mySMSApplication
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}


private void button1_Click(object sender, EventArgs e)
{
try
{
//Connect to the database
OleDbConnection conn = new OleDbConnection();

Provider=SQLNCLI;Server=.\SQLEXPRESS;User ID=ozekiuser;password=ozekipass;
Database=ozeki;Persist Security Info=True conn.Open();
if (conn.State == ConnectionState.Open)
{
//Send the message
OleDbCommand cmd = new OleDbCommand();
cmd.Connection = conn;
string SQLInsert =
"INSERT INTO "+
"ozekimessageout (receiver,msg,status) "+
"VALUES "+
"('"+tbSender.Text+"','"+tbMsg.Text+"','send')";
cmd.CommandText = SQLInsert;
cmd.ExecuteNonQuery();
MessageBox.Show("Message sent");
}

//Disconnect from the database
conn.Close();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

}

private void Form1_Load(object sender, EventArgs e)
{

}
}
}

modified 15-Feb-13 5:51am.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.