No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
in table department i've class_id as f.k and in class table class_id as p.k i want to update class_id in department table.. n getting error
ellg_date = Date.Parse(TextBox24.Text) msgbox(ellg_date)
IS it possible to show data in DataGridview columnwise?????"
Dim con as OleDbConnection Dim cmd as OleDbCommand dim sql as String con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\Zenith\\My Documents\\dew.mdb"); con.Open() String sql = "Select Class_Name From Class " OleDbCommand cmd = new OleDbCommand("Select * from dew",con); rdr = cmd.ExecuteReader() While (rdr.Read()) msgbox(rdr.GetString(0) textbox1.text= rdr.GetString(0) End While con.Close()
Private Sub ComboBox6_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox6.SelectedIndexChanged con = New SqlConnection("Data Source=DEW-D63D9D2D032\SQLEXPRESS;Initial Catalog=system1;Integrated Security=True") con.Open() sql = "Select Faculty_Id From Faculty where Faculty_Name='" + ComboBox6.SelectedItem.ToString() + "'" cmd = New SqlCommand(sql, con) rdr = cmd.ExecuteReader() While (rdr.Read()) fid = rdr.GetInt32(0) End While con.Close() MsgBox(fid) con1 …
The End.
dew97