letsk2 0 Report post Posted November 28, 2007 er..apsal beza sgt coding .net 2003 dgn .net 2005??saper2 leh tlong kasi coding nk insert data ke database(using asp.net 2005).. Quote Share this post Link to post Share on other sites
DevGuy 0 Report post Posted November 28, 2007 beza aaa. banyakk..ngann .net 2008 pun banyak..baik ko guna .net 2008 jer. free download. tapi express edition aaaheheheheoklahhkalau nak adasenang jerrbanyak teknikkktapi ni laa yg aku selalu dok ajar bebudak upm/ suk pahangamik niiaku ajar guna parameter. senanggg.kurangkan ralattamik nii Protected Sub SimpanRegistration(ByVal myPass As String) Dim Conn As SqlConnection = New SqlConnection(sDB) Conn.Open() Try Dim sCmd As SqlCommand = New SqlCommand sCmd.CommandText = "INSERT INTO tblLogin (UserID,Password,RoleID,Name,Status,Mail,dtCreated,CreatedBy) " & _ "VALUES (@sUser,@sPass,@sRole,@sName,@sStatus,@sMail,@Dt,@By)" sCmd.Connection = Conn With sCmd .Parameters.Add(New SqlParameter("@sUser", txtUserID.Text)) .Parameters.Add(New SqlParameter("@sPass", myPass)) .Parameters.Add(New SqlParameter("@sRole", ddRole.SelectedValue)) .Parameters.Add(New SqlParameter("@sName", txtName.Text)) .Parameters.Add(New SqlParameter("@sStatus", 1)) .Parameters.Add(New SqlParameter("@sMail", txtEmail.Text)) .Parameters.Add(New SqlParameter("@Dt", Now)) .Parameters.Add(New SqlParameter("@By", CType(Session("UserID"), String))) End With sCmd.ExecuteNonQuery().ToString() Catch ex As Exception Throw Finally Conn.Close() End Try End Suboklahh good luckkk Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted November 29, 2007 eh..itu ko kasi coding utk .net 2003..bukan ker .net 2005 lain coding dier...utk 2003 aku dh ade coding...itu pun pakai class function....devguy..tolong kasi link freedownload .net 2008.. Quote Share this post Link to post Share on other sites
DevGuy 0 Report post Posted November 29, 2007 pandai laa ko ni utk 2003. sebenarnya sama jerr cara connection yg beza id cara kita gunakan. ada banyak cara nak save data nii ni cara aku ajar bebudak trainiggsenang fahamko nak link diaaaamik niiihttp://www.microsoft.com/express/vwd/ok good luck Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted November 30, 2007 ermm...aku dh dpt klau nk insert data pakai .net 2003...tapi bile aku cari bt utk .net 2005(internet source coding)...TAK JADI..ade2 jer error...coz aku tgok 2005 nie men codebehind akt html.. Quote Share this post Link to post Share on other sites
thalz142 0 Report post Posted December 4, 2007 ermm...aku dh dpt klau nk insert data pakai .net 2003...tapi bile aku cari bt utk .net 2005(internet source coding)...TAK JADI..ade2 jer error...coz aku tgok 2005 nie men codebehind akt html..bleh same jek..try n error la bro byk cara kita leh guna Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted December 6, 2007 uiks..itu sememangnyer...susah gak klau takde tuk guru nie..jadi lambat sikit dari segi pemahamannyer..terpaksa laa bt dalam .net 2003 dulu...nak kene siapkan secepat mungkin..permintaan : ade ak coding nk browse n upload files? Quote Share this post Link to post Share on other sites
LanoV 22 Report post Posted December 6, 2007 Ko beli jer sejibik buku pasal VB 2005 Express Edition nie... yang terbitan Deitel punya aku recommend, sebab explain detail kat dalam tu. Harga cuma RM84.00 sahaja. Beli ler, tak rugi dapat ilmu tu.. heheheh. Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted December 7, 2007 LanoG..aper Url tutorial .net 2008??yg baru di terbitkan tu...aku dh tak ingat saper yg bt tutorial tu..tapi page dier baru ade satu...aku pun nmpak ade Komen ko je kt dlm tu.... Quote Share this post Link to post Share on other sites
Sousuke Aizen 4 Report post Posted December 7, 2007 eh..itu ko kasi coding utk .net 2003..bukan ker .net 2005 lain coding dier...utk 2003 aku dh ade coding...itu pun pakai class function....devguy..tolong kasi link freedownload .net 2008..Ko ni Dee bakpe le sengal sgt...Sebenarnya coding VB.Net 2003 ke 2005 ke 2008 ke... sama aje....Cuma kdg2 bila ada programmer yg expert dia buat le connection dlm satu kelas...Benda ni boleh diubah-2 ikut kehendak programmer, janji leh jalan... Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted December 7, 2007 uiks...mmg laa,tapi aku ckp dari segi syntax..tak semua syntak dorang sama... Quote Share this post Link to post Share on other sites
aida.azhari 0 Report post Posted December 14, 2007 (edited) LanoG..aper Url tutorial .net 2008??yg baru di terbitkan tu...aku dh tak ingat saper yg bt tutorial tu..tapi page dier baru ade satu...aku pun nmpak ade Komen ko je kt dlm tu.... http://pengaturcara.wordpress.com/ Edited December 14, 2007 by naizhar Quote Share this post Link to post Share on other sites
LanoV 22 Report post Posted December 14, 2007 Hahaha... tu dia.. kat atas tu.. interference punya blog tu... dah ramai yang komen dah.. Quote Share this post Link to post Share on other sites
interferens 0 Report post Posted December 14, 2007 ceh..malu saye setakat nie baru satu contoh je..xsempat nak update la blog tu...isnin nie ada duedate..mgu depan or lepas krismas leh la update...sorry to all Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted December 20, 2007 ok ok....aku doakan ko berjaya update blog ko tu...bagus gak curah2 ilmu nie...satu kiter kasi ilmu..mungkin balasan nnti berlipat kali ganda... Quote Share this post Link to post Share on other sites
nurulhidayati 0 Report post Posted December 26, 2007 eh korg rs vba coding kt leh apply kat vb.net x??dh cb tp xdpt nk run cz ade error kat-----> pMxDocument = ThisDocumentade ckt tu sy dh ubah kpd vb.net..ni coding die (export to shapefile),kat vba die leh run.....Dim pMap As IMap Dim pMxDocument As IMxDocument Dim pFLayer As IFeatureLayer Dim pFc As IFeatureClass Dim pInFeatureClassName As IFeatureClassName Dim pDataset As IDataset Dim pInDsName As IDatasetName Dim pFSel As IFeatureSelection Dim pSelSet As ISelectionSet Dim pFeatureClassName As IFeatureClassName Dim pOutDatasetName As IDatasetName Dim pWorkspaceName As IWorkspaceName Dim pExportOp As IExportOperation 'Dim SelectedPath As String 'Get the first layer in the map 'pDoc = ThisDocument pMxDocument = ThisDocument pFLayer = pMap.FeatureSelection 'ActiveView.Selection '*SelectedLayer 'Set pFLayer = pDoc.FocusMap.Layer(0)'*export all pFc = pFLayer.FeatureClass 'Get the Featureclassname from the featureclass pDataset = pFc pInFeatureClassName = pDataset.FullName pInDsName = pInFeatureClassName 'Get the selected features pFSel = pFLayer pSelSet = pFSel.SelectionSet 'Define the output featureclass 'give it the name of the input feature class + exp pFeatureClassName = New FeatureClassName pOutDatasetName = pFeatureClassName pOutDatasetName.Name = pFc.AliasName & pOutDatasetName.Name & ".shp" pWorkspaceName = New WorkspaceName pWorkspaceName.PathName = ComboBox1.Text = "" '*(took from browseFile) '*"D:\" pWorkspaceName.WorkspaceFactoryProgID = "esriCore.shapefileworkspacefactory.1" pOutDatasetName.WorkspaceName = pWorkspaceName ''Give the output shapefile the same props as the input dataset pFeatureClassName.FeatureType = pFc.FeatureType pFeatureClassName.ShapeType = pFc.ShapeType pFeatureClassName.ShapeFieldName = pFc.ShapeFieldName ''Export selected features pExportOp = New ExportOperation pExportOp.ExportFeatureClass(pInDsName, Nothing, pSelSet, Nothing, pOutDatasetName, 0)korg leh tlg x...????sesape yg expert vb.net ni tlg la..dh nek fenin dh pala otak ni r... Quote Share this post Link to post Share on other sites
five_z 0 Report post Posted December 26, 2007 ada tak toturial utk vb.net 2008 utk wat database atau connect database. adakah cara utk connection sapa dengan vb6 dimana kita setting kat propresties n guna data1 atau adodc Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted June 26, 2008 ada tak toturial utk vb.net 2008 utk wat database atau connect database. adakah cara utk connection sapa dengan vb6 dimana kita setting kat propresties n guna data1 atau adodchttp://pengaturcara.wordpress.com/ Quote Share this post Link to post Share on other sites
ron 0 Report post Posted June 26, 2008 Pembetulan sikit. Takde istilah .NET 2005 atau 2008, yg ada hanya .NET 1.0/1.1/2.0/3.0/3.5.Yg 2005 atau 2008 tu Visual Studio punya version. Beza .NET 2.0 dgn 3.0 atau 3.5 sebenarnya takde beza, cuma dlm 3.0 dan 3.5 tambahan drpd .NET 2.0. Depends on the situation dan best practices yg kau amal kan. Kalau guna features baru dlm VS 2008 seperti ASP.NET MVC cara kau berfikir dan coding jauh berubah, tak sama macam cara biasa Web Form tuu dlm .NET 2.0 (VS 2005). Tapi kalau guna cara lama Web Form ni, sama je 2005 dan 2008.Satu lagi kalau guna VS 2008 pon leh guna .NET lama macam .NET 2.0, cuma pilih option masa buat tu. Quote Share this post Link to post Share on other sites
Rapla 0 Report post Posted July 29, 2008 Geng, camana nak wat Simple Data Binding Dalam VB2005? Buat dalam VB2003 menjadi, step yg sama aku guna dalam VB2005 tak jadi plk....hempeh! yg peliknya aku buat binding guna wizard (OLEDBDataAdapter,OLEDBConnection,DataSet)bukan hard coded pun, kalau hard coded maybe ada syntax error ke ape ke...tapi wizard VS2005 pun sama dengan Wizard VB2003.... cuma dalam VB2005 ada benda baru palk "binding source" benda ape nie aku pun tak tau...tensen betul aku....ada sepapa pernah alamni problem nih? Quote Share this post Link to post Share on other sites
LanoV 22 Report post Posted August 18, 2008 http://pengaturcara.wordpress.com/Lama gak tak update blog dia nie.. hehehe Quote Share this post Link to post Share on other sites
letsk2 0 Report post Posted November 4, 2008 QUOTE(LanoX @ Aug 18 2008, 11:26 AM) <{POST_SNAPBACK}>Lama gak tak update blog dia nie.. hehehe HUHUHU....mmg lama btoi ko tak update yek....awal2 nmpak excited jer...aper jadi bro>??bz ka?? Quote Share this post Link to post Share on other sites
G.E.M 0 Report post Posted December 2, 2008 Sertai GEM Community secara percuma. Satu tapak untuk para Usahawan - usahawan berkongsi-kongsi maklumat dan pendapat (Forum, Blog,Direktori, Iklan Percuma DLL) dalam bidang yang ceburi seperti Pertanian, Ternakan DLL. http://gem.socialgo.com Industri Sarang Burung Layang-layang (walet/walit). http://gem.tl.myDirektori Pertanian Malaysia – Himpunan Weblog Pertanian & Penternakan Malaysia – http://pertanianmalaysia.blogspot.com Quote Share this post Link to post Share on other sites