User Profile

Collapse

Profile Sidebar

Collapse
icetalks
icetalks
Last Activity: Apr 23 '07, 06:14 AM
Joined: Feb 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • icetalks
    replied to Need some Help
    in .NET
    Thnx .. but as i said , i am using ComboBox not list box .. .. sorry , i didn't understand it .. have a look at my code :

    ' this sub to get the database from the SQL and fill it into the combo box.

    Private Sub KG_Load(ByVal sender As System.Object, ByVal e As System.EventArg s) Handles MyBase.Load
    Dim cn As New SqlConnection
    cn.ConnectionSt ring = "Data Source=PC100-042295F4E;"...
    See more | Go to post

    Leave a comment:


  • icetalks
    replied to Need some Help
    in .NET
    .. am using VB.NET .... 2003 .... Coonection mode. not wizard. .. SQL Server2000...
    See more | Go to post

    Leave a comment:


  • icetalks
    started a topic Need some Help
    in .NET

    Need some Help

    hi,
    I am building a form that gets its data base from SQL data base . i have about 3 combo Boxes in this form that shows some data memebers . ok now the question ... if the user selects a value from any of these combo boxes i want to get the ID of that Value .. i mean : i have a course table contains course_id and the Course_name when the user selects the Course_Name from the combo box i want to retreive the ID of that course in to a new...
    See more | Go to post

  • icetalks
    started a topic problem please check .!!
    in .NET

    problem please check .!!

    have a look at this code , its for logging the user in after checking his UserName and Password.

    dim check as boolean = false
    ...
    ...

    If txtUserName.Tex t.Length = 0 And txtPass.Text.Le ngth = 0 Then
    MessageBox.Show ("please Enter Your Name and Password")
    txtUserName.Tex t = ""
    txtPass.Text = ""
    Exit Sub
    End If

    Dim conn As New SqlConnection...
    See more | Go to post

  • hi rick,

    hope u r doing fine ... try to do as follows : it is simple connection to sql
    Imports System.Data.Sql Client
    .
    .
    .
    .
    .
    '

    dim conn as new sqlconnection
    dim cmd as new sqlcommand
    conn.connection String ="server=(local );database=DB;t rusted_connecti on=yes"
    cmd.commandText ="Insert into Emp_info (FirstName,Seco ndName) Values ( ' "&txtFirstname. text...
    See more | Go to post

    Leave a comment:


  • Done ... :)) ... Thanx very much...
    See more | Go to post

    Leave a comment:


  • Cast from string "Insert into Emp_Info (Emp_FrName" to type 'Double' is not valid.

    hi guys ,

    can u please help in this ....

    Dim conn As New SqlConnection
    Dim cmd As New SqlCommand
    conn.Connection String = "Data Source=PC100-042295F4E;" & "Trusted_connec tion=yes;" & "initial Catalog=Client; "

    cmd.CommandText = "Insert into Emp_Info (Emp_FrName,Emp _Sname,Emp_Fnam e,Emp_Address,E mp_Tel,Emp_Posi tion) Values (...
    See more | Go to post

  • Dear ,

    Can u please explain this statment to me .... am new .. excuse me .

    Me.BillTableAda pter.Fill(Me.Se nTestDataSet.Bi ll)


    Thanx very much
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...