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
M

mpvkrishnadhar

@mpvkrishnadhar
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • jagged array error message
    M mpvkrishnadhar

    oooh! now i get it!

    C# question data-structures help

  • jagged array error message
    M mpvkrishnadhar

    oops! that was a typo mistake! i was asking about the first error message!

    C# question data-structures help

  • jagged array error message
    M mpvkrishnadhar

    hi learned jagged array today and was working with them! came across two error messages int [][]j1=new int[][]; now i get two error messages displayed 1) when i keep my cursor/pointer on the new int part then i get to see the following error message "Wrong number of indices inside[];excepted1" 2) when i keep my cursor/pointer on the indices then the following error message is displayed "Array creation must have array size or array "initializer". 2nd error message is pretty straight forward as it explains about the need to declare an array(row) size or initialize the(row)array in case of JAGGED ARRAYS my question here is what is the meaning of the first error message;

    C# question data-structures help

  • how to take a table name from a text box!
    M mpvkrishnadhar

    ooh! but if i use comboboxstyle with allowable table names! the whole purpose of what i wanted would not be served! is there any way by which it can be done! ? but thank u very much for the suggestion mate! am seriously learning a lot from this!

    C# oracle tutorial question

  • how to take a table name from a text box!
    M mpvkrishnadhar

    hi AHSAN111! thanks for the reply mate! the first and the second parts that u explained are working fine for me! this is how my new code looks like! try { string constr = "User Id = scott;Password=tiger;Provider=Msdaora.1"; OleDbConnection con = new OleDbConnection(constr); con.Open(); MessageBox.Show(" Connected to ORACLE!"); string g = textBox1.Text; string q = "create table " +g+ "(enum number,ename varchar2(10),sal number)"; OleDbCommand cmd = new OleDbCommand(q, con); cmd.ExecuteNonQuery(); MessageBox.Show("Table Created!"); }

    C# oracle tutorial question

  • how to take a table name from a text box!
    M mpvkrishnadhar

    was that an anwswer! its looking like something else!

    C# oracle tutorial question

  • how to take a table name from a text box!
    M mpvkrishnadhar

    hi i designed my form as textbox, button now in the buttonclick event i wrote a code which is as follows! try { string constr = "User Id = scott;Password=tiger;Provider=Msdaora.1"; OleDbConnection con = new OleDbConnection(constr); con.Open(); MessageBox.Show(" Connected to ORACLE!"); string q = "create table pert(enum number,ename varchar2(10),sal number)"; OleDbCommand cmd = new OleDbCommand(q, con); cmd.ExecuteNonQuery(); MessageBox.Show("Table Created!"); } catch (OleDbException a) { MessageBox.Show(a.Message); } now in the string q how do i add a textbox1.text so that while running my program i give the table name dynamically instead of statistically mentioning the table name as shown in the string q.

    C# oracle tutorial question
  • Login

  • Don't have an account? Register

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