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
K

Karrar Ketawi

@Karrar Ketawi
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Textbox VS DATASET
    K Karrar Ketawi

    Hi there are Tow ways to do that but in both ways u should bind each TextBox alone The First way

    TextBox1.DataBindings.Add("Text", DataSetName, "TableName1.ColumnName1")
    NumericUpDown1.DataBindings.Add("Value", DataSetName, "TableName1.ColumnName2")

    And The 2nd way

    Dim NewBind As New Binding("Text", DataSetName, "TableName1.ColumnName3")
    TextBox1.DataBindings.Add(NewBind)

    where: "Text" and "Value" is the Property that u want to bind your data to as u see you should pass it as text DataSetName is your DataSet "TableName.ColumnName" is Your DataMember Excuse my English :-O

    Visual Basic visual-studio help question

  • Need to open an image file, like jpg ?
    K Karrar Ketawi

    ViewPictureBox.Image = System.Drawing.Bitmap.FromFile("here is your image path")

    Visual Basic help question

  • problems insert data in database using table adapter
    K Karrar Ketawi

    Oops :doh: Sorry addRow = lpDataSet.Tables("tbl_students").NewRow() addRow("stud_cell") = txtStudCell.Text addRow("stud_phone") = txtStudPhone.Text lpDataSet.Tables("tbl_students").Rows.Add(addRow) Try studTableAdapter.Update(lpDataSet, "tbl_students" ) Catch err As Exception MessageBox.Show(err.Message) End Try

    Visual Basic database question announcement

  • problems insert data in database using table adapter
    K Karrar Ketawi

    Try this code addRow = lpDataSet.Tables("tbl_students").NewRow() addRow("stud_cell") = txtStudCell.Text addRow("stud_phone") = txtStudPhone.Text lpDataSet.Tables("tbl_students").Rows.Add(addRow) Try studTableAdapter.Update() Catch err As Exception MessageBox.Show(err.Message) End Try :-\

    Visual Basic database question announcement

  • hi
    K Karrar Ketawi

    con.Open(); SqlDataAdapter adp= new SqlDataAdapter(lstrsql,con); DataSet objds=new DataSet(); adp.Fill(objds); lst_emp.DataSource = objds.Tables[0].DefaultView cmbBookFrom.ValueMember = "emp_id" cmbBookFrom.DisplayMember = "txtval" i think this will make your life easier :-\

    Database help
  • Login

  • Don't have an account? Register

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