Click here to Skip to main content
15,905,776 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Repaint custom control when property changes in CollectionEditor Pin
willydemis17-Jul-08 4:01
willydemis17-Jul-08 4:01 
GeneralRe: Repaint custom control when property changes in CollectionEditor Pin
Thomas Stockwell17-Jul-08 4:39
professionalThomas Stockwell17-Jul-08 4:39 
GeneralRe: Repaint custom control when property changes in CollectionEditor Pin
willydemis17-Jul-08 10:29
willydemis17-Jul-08 10:29 
Questionc# for driver level Pin
knmsuman15-Jul-08 5:53
knmsuman15-Jul-08 5:53 
QuestionDataBindingComplete firing on form Visibility change Pin
bigbrownbeaver15-Jul-08 1:55
bigbrownbeaver15-Jul-08 1:55 
AnswerRe: DataBindingComplete firing on form Visibility change Pin
led mike15-Jul-08 5:05
led mike15-Jul-08 5:05 
GeneralRe: DataBindingComplete firing on form Visibility change Pin
bigbrownbeaver15-Jul-08 5:31
bigbrownbeaver15-Jul-08 5:31 
QuestionORA-00936:missing expression Pin
varun_mca_ju14-Jul-08 21:13
varun_mca_ju14-Jul-08 21:13 
I have a textbox called "textBox6.text" in a C# Windows Application in Visual Studio, and i want that the text entered by the user in the textbox should be added to the "PURPOSE" field in a table "TABLE2_HDB1" in Oracle database "HDB1" on clicking a "submit" button.

the coding for submit button is as follows:-

private void button1_Click(object sender, EventArgs e)
{
string OracleStmt;
string ConString;
OleDbConnection cn = null;
OleDbCommand cmd = null;
try
{
OracleStmt = "insert into TABLE2_HDB1(PURPOSE) values(@PURPOSE)";
ConString = " Provider=MSDAORA;Data Source=HDb1;User Id=SYSTEM
;Password=*****;";
cn = new OleDbConnection(ConString);
cmd = new OleDbCommand(OracleStmt, cn);
cmd.Parameters.Add(new OleDbParameter("@PURPOSE", OleDbType.VarChar , 20));
cmd.Parameters["@PURPOSE"].Value = textBox6.Text;
cn.Open();
cmd.ExecuteNonQuery();
textBox8 .Text = "record inserted successfully";
}
catch (Exception ex)
{
textBox8 .Text = ex.Message;
}
finally
{
cn.Close();
}
}
on executing this code u get the error :-
ORA-00936:missing expression
plz. helpConfused | :confused:
QuestionCould not receive Meesages from Socket Pin
HemJoshi14-Jul-08 20:31
HemJoshi14-Jul-08 20:31 
QuestionResize problem with Listbox Pin
emailthiaga14-Jul-08 19:26
emailthiaga14-Jul-08 19:26 
AnswerRe: Resize problem with Listbox Pin
John Ad15-Jul-08 3:18
John Ad15-Jul-08 3:18 
GeneralRe: Resize problem with Listbox Pin
emailthiaga15-Jul-08 4:01
emailthiaga15-Jul-08 4:01 
AnswerRe: Resize problem with Listbox Pin
emailthiaga24-Jul-08 0:05
emailthiaga24-Jul-08 0:05 
AnswerRe: Resize problem with Listbox Pin
darkelv15-Jul-08 23:09
darkelv15-Jul-08 23:09 
AnswerCross Post Pin
Thomas Stockwell16-Jul-08 5:10
professionalThomas Stockwell16-Jul-08 5:10 
QuestionSkins.. Pin
Slick6914-Jul-08 0:06
Slick6914-Jul-08 0:06 
AnswerRe: Skins.. Pin
Thomas Stockwell15-Jul-08 8:46
professionalThomas Stockwell15-Jul-08 8:46 
QuestionA CheckBox with a LinkLabel Pin
Domenic Denicola13-Jul-08 12:27
Domenic Denicola13-Jul-08 12:27 
QuestionRead the URL of the Browser Pin
M_Menon13-Jul-08 5:00
M_Menon13-Jul-08 5:00 
Questionpassword change Pin
Sider8912-Jul-08 5:43
Sider8912-Jul-08 5:43 
QuestionPrinterSettings/DefaultPageSettings incredibly slow on a machine Pin
nxtwothou11-Jul-08 5:31
nxtwothou11-Jul-08 5:31 
AnswerRe: PrinterSettings/DefaultPageSettings incredibly slow on a machine Pin
Luc Pattyn11-Jul-08 6:19
sitebuilderLuc Pattyn11-Jul-08 6:19 
GeneralRe: PrinterSettings/DefaultPageSettings incredibly slow on a machine Pin
nxtwothou14-Jul-08 3:18
nxtwothou14-Jul-08 3:18 
QuestionWindows Media Encoder get installed Automatically, when i instal mu project set up. Pin
balaji_vbr10-Jul-08 21:20
balaji_vbr10-Jul-08 21:20 
GeneralSkip readonly columns in DataGridView Pin
WILLIAM MAIN10-Jul-08 11:43
WILLIAM MAIN10-Jul-08 11:43 

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.