Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

Idoshhh

@Idoshhh
About
Posts
13
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • disabled hyperlink and write arrow cursor
    I Idoshhh

    Hello, i have a problem using IE7. i have 4 text button (hyperLink) that should working after the user logged in with user and password. the problem is that: if the hyperlink is disabled the mouse arrow is pointer and not write arrow as it should be in IE7, but in IE8 it's ok. what can i do using css to fix it ??? 10x for all. Ido.

    C# help css question

  • CSharp oleDB - INSERT INTO
    I Idoshhh

    ok, I got it!!!! the problem was the column names and the way of writing. the fixed is: <code> input = @"INSERT INTO userAuth ([user], [pass], [mail]) VALUES ('" + username + "', '" + pass + "', '" + email + "') "; </code> and the parameters that i sending is after casting ToString(), also, in the DB i changed the Column rule to string and not email column as i defined before. thanks to everyone. ido.

    C# database csharp com security debugging

  • CSharp oleDB - INSERT INTO
    I Idoshhh

    wtf! it wasnt necessary to say what u said. i have googled it, and also tried to changed password to [password] but also, i've got an exception! bye

    C# database csharp com security debugging

  • CSharp oleDB - INSERT INTO
    I Idoshhh

    You right, i didnt write any descriptions of symptoms. i've got an Exception about "Syntax error in INSERT INTO statement" in Line "cmd.ExecuteNonQuery();" 10x

    C# database csharp com security debugging

  • CSharp oleDB - INSERT INTO
    I Idoshhh

    Hi, i've got a problem when i tried to INSERT details to OLEDB Access. this is my code: <pre> public class registrationClass       {             static string connStr = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\WebSites\DB\users.mdb;Persist Security Info=True";             public static string details(string username, string pass, string email)             {                   string input;                   //bool Enter = true;                                           OleDbConnection conn = new OleDbConnection(connStr);                   conn.Open();                   input = String.Format(@"INSERT INTO userAuth (user,password,Email) VALUES ('{0}','{1}','{2}')", username, pass, email);                                          OleDbCommand cmd = new OleDbCommand(input, conn);                   cmd.ExecuteNonQuery();                   conn.Close();                   return String.Format("Done");             } </pre> now, when i searched on the web, i saw that my query is well. when i did debug to this action, the input looks like: "INSERT INTO userAuth (user,password,Email) VALUES ('Igor','pass123','igor@email.com')" whats wrong???????? thank u!!!

    C# database csharp com security debugging

  • DataGridView from CSV file BUT WITHOUT OleDb
    I Idoshhh

    Great! lovely :-) 10x!!!!

    C# question

  • DataGridView from CSV file BUT WITHOUT OleDb
    I Idoshhh

    is there any way to import CSV file to datagridview without all the procedure of connectionstrings and querys????? i want only to imports the parameters of the CSV to the table..... 10x... Ido

    C# question

  • DataGridView,DataBind()
    I Idoshhh

    Hello, I'm using VS2008 (C#). i built a desktop application that doing few type of query's and save the results to CSV file. now, i want also to see the result in the DataGridView. i understand the logic, and i understand that i have to use in my code something like the follow lines: (i cant see the "DataBind" Method!!)

    public void ExecuteFromBox(string ExecuteFromFile,string timeNow)
    {
    string conStr = String.Format(@"UID=very_Funny;PWD=hahahahaha;InitialCatalog=hahahahahahaha;Data Source=hahahahahaha");
    Form1 frmain = new Form1();
    SqlConnection conn = new SqlConnection(conStr);
    conn.Open();
    SqlCommand cmd = new SqlCommand(@ExecuteFromFile, conn);
    MessageBox.Show(cmd.CommandText);
    DataSet ds = new DataSet();
    //SqlDataAdapter ad = new SqlDataAdapter(cmd);
    SqlDataReader reader = cmd.ExecuteReader();
    frmain.DTResults.DataSource = reader;
    frmain.DTResults.DataBind(); // i cant find this Method!!!
    conn.Close();
    }

    is there any suggestion?? how can i add the DataBind Method? Thank you :-)

    C# question csharp database

  • inheritance
    I Idoshhh

    o.k. got it! what an idiot i am. thank you so much!!

    C# help csharp debugging xml oop

  • inheritance
    I Idoshhh

    namespace.TakeNumber inputForm = new TakeNumber(); then: input get the txtPhoneNumber but without values...... :-(

    C# help csharp debugging xml oop

  • inheritance
    I Idoshhh

    Hi, thanks for the fastest answer!! i don't need to add columns or names, the single integer in the XML is the txtPhoneNumber. the XML is ok, but he doesn't get the phone number integer.

    C# help csharp debugging xml oop

  • inheritance
    I Idoshhh

    i didn't ignore the HTML tags........ fixed XML builder: strBuild = strBuild.Append(""); strBuild = strBuild.Append(inputForm.txtPhoneNumber.Text); strBuild = strBuild.Append("");

    C# help csharp debugging xml oop

  • inheritance
    I Idoshhh

    Hi all, i am new in C# environment. i try to create a desktop application. i have 2 classes (form1 & createXML) the form1 located a textBox that called txtPhoneNumber. now, when the user will write his phone number the application will send him an SMS. the problem is that the txtPhoneNumber.Text doesn't send the user number to the createXML class. the XML is look like: strBuild = strBuild.Append(""); //Destinations strBuild = strBuild.Append(inputForm.txtPhoneNumber.Text); //input from the form1 Class strBuild = strBuild.Append(""); but in the debug i see that there is no number. and there is no any hint for error. any idea? please help!!!

    C# help csharp debugging xml oop
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups