Click here to Skip to main content
15,896,453 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionCan i write the article which is already available ? Pin
Hari-CodeBlogger6-Nov-18 22:18
Hari-CodeBlogger6-Nov-18 22:18 
AnswerRe: Can i write the article which is already available ? Pin
Pete O'Hanlon6-Nov-18 23:14
mvePete O'Hanlon6-Nov-18 23:14 
GeneralRe: Can i write the article which is already available ? Pin
Hari-CodeBlogger6-Nov-18 23:55
Hari-CodeBlogger6-Nov-18 23:55 
QuestionHow I can safely post links?? Pin
Enrique Mesaa4-Nov-18 21:17
Enrique Mesaa4-Nov-18 21:17 
AnswerRe: How I can safely post links?? Pin
OriginalGriff4-Nov-18 21:24
mveOriginalGriff4-Nov-18 21:24 
GeneralRe: How I can safely post links?? Pin
Nelek16-Nov-18 0:19
protectorNelek16-Nov-18 0:19 
GeneralRe: How I can safely post links?? Pin
OriginalGriff16-Nov-18 0:29
mveOriginalGriff16-Nov-18 0:29 
AnswerRe: How I can safely post links?? Pin
Kuber Vats22-Nov-18 19:36
professionalKuber Vats22-Nov-18 19:36 
GeneralRe: How I can safely post links?? Pin
Nelek23-Nov-18 9:02
protectorNelek23-Nov-18 9:02 
QuestionPublished Article Updates by Community member Pin
Osama Saleem (live)3-Nov-18 3:42
professionalOsama Saleem (live)3-Nov-18 3:42 
AnswerRe: Published Article Updates by Community member Pin
Richard MacCutchan3-Nov-18 4:00
mveRichard MacCutchan3-Nov-18 4:00 
AnswerRe: Published Article Updates by Community member Pin
Julia Kravchenko6-Dec-18 0:42
sponsorJulia Kravchenko6-Dec-18 0:42 
GeneralRe: Published Article Updates by Community member Pin
Osama Saleem (live)18-Dec-18 8:05
professionalOsama Saleem (live)18-Dec-18 8:05 
GeneralRe: Published Article Updates by Community member Pin
Richard Deeming18-Dec-18 11:06
mveRichard Deeming18-Dec-18 11:06 
QuestionAngular JS Versions Supported for Visual studio Pin
rajesh vs30-Oct-18 22:23
rajesh vs30-Oct-18 22:23 
AnswerRe: Angular JS Versions Supported for Visual studio Pin
Richard MacCutchan30-Oct-18 22:26
mveRichard MacCutchan30-Oct-18 22:26 
QuestionWhere is the rejected Article Pin
Er.Vaibhav Singh Chauhan30-Oct-18 19:13
professionalEr.Vaibhav Singh Chauhan30-Oct-18 19:13 
AnswerRe: Where is the rejected Article Pin
Pete O'Hanlon30-Oct-18 21:36
mvePete O'Hanlon30-Oct-18 21:36 
GeneralRe: Where is the rejected Article Pin
Er.Vaibhav Singh Chauhan31-Oct-18 1:25
professionalEr.Vaibhav Singh Chauhan31-Oct-18 1:25 
Questionwhat is going wrong Pin
Member 1403295125-Oct-18 8:32
Member 1403295125-Oct-18 8:32 
C#
namespace Testinsert
{
    public partial class Form1 : Form
    {
        OleDbConnection con = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=TSMSdBase.accdb ; Persist Security Info=False");
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            try{
            string sql = "insert into masterStudent ( StudentName, Gender, Section, RollNo, masterClass_sl) values ('ww','F','B',2,3)";
            OleDbCommand cmd = new OleDbCommand();
            cmd.Connection = con;
            cmd.CommandText = sql;
            con.Open();
            cmd.ExecuteNonQuery();
            con.Close();
             }catch(Exception ex)
        {
            MessageBox.Show(ex.ToString());
            if (con.State == ConnectionState.Open)
                con.Close();
           
        }
        }
    }
}


The exception : 

at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteNonQuery()
   at Testinsert.Form1.button1_Click(Object sender, EventArgs e) in E:\schoolResult\Testinsert\Testinsert\Form1.cs:line 29

AnswerRe: what is going wrong Pin
Richard Deeming25-Oct-18 9:21
mveRichard Deeming25-Oct-18 9:21 
QuestionEmail notification that my article was changed. Pin
Jim Meadors18-Oct-18 18:01
Jim Meadors18-Oct-18 18:01 
AnswerRe: Email notification that my article was changed. Pin
Nelek18-Oct-18 19:14
protectorNelek18-Oct-18 19:14 
AnswerRe: Email notification that my article was changed. Pin
Nelek18-Oct-18 19:17
protectorNelek18-Oct-18 19:17 
AnswerRe: Email notification that my article was changed. Pin
Pete O'Hanlon18-Oct-18 21:12
mvePete O'Hanlon18-Oct-18 21:12 

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.