|
|
Hello, Guest! Welcome to Symbianize forums.
Most of our features and services are available only to our members. So we encourage you to login or join us by registering a new account. Registration is free, fast, and simple. You only need to provide a valid email address so we can minimize spammers. As a Symbianize member you'll have the following privileges:
- Gain access to private forums and restricted features
- Reply and create new topics or polls
- Download free applications, games, themes, graphics, tones, videos, etc.
- Ask question or support related to mobile phone, computer, game console, and multimedia
- Private messaging (PM) with fellow members
- Communicate instantly or real-time with currently online members via Shout Box
All that and more, so what are you waiting for, join us now! Ito ang website na ginawa ng pinoy para sa pinoy!
| |
| Programming Discussions related to C++, HTML, PHP, ASP, ColdFusion, JavaScript, Perl, Phyton, Ruby, WML, SQL, XML, and other programming languages. |
 |
|

18th Jun 2012 Mon, 17:00
|
|
Professional
|
|
Join Date: Dec 2009
Posts: 105
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
Sir pano ko po magagawa to gamit ang Data.OLEDB at MS Access ang back end?
Code:
myCommand = New SqlCommand("InsertNewUserInfo", ProjectConnection)
With myCommand
.CommandType = CommandType.StoredProcedure
.Parameters.AddWithValue("vUserId", Trim(txtUserID.Text))
.Parameters.AddWithValue("vScId", Trim(txtSCID.Text))
.Parameters.AddWithValue("vLastName", Trim(txtLname.Text))
.Parameters.AddWithValue("vFirstName", Trim(txtFName.Text))
.Parameters.AddWithValue("vMI", Trim(txtMI.Text))
.Parameters.AddWithValue("vUserLevel", Trim(txtUserLevel.Text))
.Parameters.AddWithValue("vPassword", Trim(txtPassword.Text))
.Parameters.AddWithValue("vSupervisorLevel", IIf(cboSupervisorLevel.CheckState = CheckState.Checked, 1, 0))
.ExecuteNonQuery()
MsgBox("User Id " & Trim(txtUserID.Text) & " added successfully.", MsgBoxStyle.Information, "New User Added")
End With
myCommand.Dispose()
Pahingi ng SIG -=Please=-
|

19th Jun 2012 Tue, 17:13
|
 |
Forum Advisor
|
|
Join Date: Nov 2010
Location: Caloocan
Posts: 736
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
 dito magagamit ko tu next sem hehe
|

28th Jun 2012 Thu, 09:19
|
 |
Professional
|
|
Join Date: Jul 2010
Posts: 163
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
Maraming Salamat po
|

30th Jun 2012 Sat, 12:00
|
|
Newcomer
|
|
Join Date: Jun 2012
Posts: 5
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
Hello po .. pa help naman po .. sinu po ung mabait at mag bibigay ng source code sa student information system .. sample lang po ksi wla po akong idea sa gagawin kong programm . sana po matulungan niyo ako . begginer palang po ako .. slamat po ..
|

9th Jul 2012 Mon, 14:42
|
 |
Forum Advisor
|
|
Join Date: Mar 2012
Location: Sa Puso Mo
Posts: 757
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
salamat dito sir
|

11th Jul 2012 Wed, 17:09
|
|
Newcomer
|
|
Join Date: Jul 2012
Posts: 7
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
Pwede po mag tanong ng inventory code? sa VB6
 sa sasagot.
Last edited by itsmemarjorie; 11th Jul 2012 Wed at 17:10..
|

12th Jul 2012 Thu, 13:45
|
 |
Veteran
|
|
Join Date: Sep 2011
Location: nasa PUSO niya ^_^
Posts: 353
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
Quote:
Originally Posted by jake_lyson
Sir pano ko po magagawa to gamit ang Data.OLEDB at MS Access ang back end?
Code:
myCommand = New SqlCommand("InsertNewUserInfo", ProjectConnection)
With myCommand
.CommandType = CommandType.StoredProcedure
.Parameters.AddWithValue("vUserId", Trim(txtUserID.Text))
.Parameters.AddWithValue("vScId", Trim(txtSCID.Text))
.Parameters.AddWithValue("vLastName", Trim(txtLname.Text))
.Parameters.AddWithValue("vFirstName", Trim(txtFName.Text))
.Parameters.AddWithValue("vMI", Trim(txtMI.Text))
.Parameters.AddWithValue("vUserLevel", Trim(txtUserLevel.Text))
.Parameters.AddWithValue("vPassword", Trim(txtPassword.Text))
.Parameters.AddWithValue("vSupervisorLevel", IIf(cboSupervisorLevel.CheckState = CheckState.Checked, 1, 0))
.ExecuteNonQuery()
MsgBox("User Id " & Trim(txtUserID.Text) & " added successfully.", MsgBoxStyle.Information, "New User Added")
End With
myCommand.Dispose()
|
_____________________________
Oleda.InsertCommand = New OleDbCommand()
Oleda.InsertCommand.CommandText = "INSERT INTO [InsertNewUserInfo] ([vUserID] , [vScId] )" & _
"VALUES (@vUserID , @vScId)"
Oleda.InsertCommand.Connection = Olecn
With Oleda
.InsertCommand.Parameters.Add("@vUserID", OleDbType.VarWChar, 50, "User ID").Value = me.txtID.Text
.InsertCommand.Parameters.Add("@vScId", OleDbType.VarWChar, 50, "vScId").Value = me.txtvScId.Text
MsgBox("User Id " & Trim(txtUserID.Text) & " added successfully.", MsgBoxStyle.Information, "New User Added")
.InsertCommand.ExecuteNonQuery()
End With
Last edited by wrredraye; 12th Jul 2012 Thu at 13:47..
Reason: up
|

13th Jul 2012 Fri, 21:50
|
 |
Inactive
|
|
Join Date: Nov 2011
Location: Guagua, pampanga
Posts: 215
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
madownload nga thanks po
|

18th Jul 2012 Wed, 13:48
|
 |
Professional
|
|
Join Date: Nov 2011
Posts: 184
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
tnx po dito pa subscribe din muna dami pa download sa net tnx 
|

18th Jul 2012 Wed, 20:57
|
|
Trainee
|
|
Join Date: Dec 2008
Location: Tagum City
Posts: 21
Reputation:
|
|
Re: 101 Visual Basic and C# Code Samples for Visual Studio .Net
mga masters,
advisable po ba gumamit ng bindingsource sa mga database application..dati po akong gumagamit ng hard coded db commands, medyo mahirap na kasi pag madami n fields ng tables.. if i may ask, which one would u prefer, hardcode or using bindings & etc..
tnx...sori medyo noob pa po ako..
 C++ Builder/Firebird
|
 |
|
All times are GMT +8. The time now is 13:52.
|