For all the KZbin tutorial how to display data from the database, This is the only video that is working for me
@thurmanjenner17459 жыл бұрын
Excellent. I must have watched this series 10 times now. It would be grand if you could use a broader scope of database variables instead of just using strings. Why not a date, or blob example added in. That would have made me drool over your tutorial.
@jerlynpaguio88609 жыл бұрын
thank you sir in advance.. i really need it for our thesis
@oshonewman70665 жыл бұрын
you are awesome, brilliant. Incredible is your way to explain, ur knowledge. thanx thanx thanx a thousand times...
@Iarksys9 жыл бұрын
Just in case anyone is using WPF, [DataGridView1.DataSource] will not work. Use [DataGridView1.ItemSource] instead. thank you uploader for sharing. your videos are very helpful.
@jerrylopez62406 жыл бұрын
Hi good sir . Thank you so much about this tutorial . it help me so much .. I hope u dont stop uploading Videos.
@mohamedelahbibbourhroum612710 жыл бұрын
Franchement , tu 'es le meilleur , respect pour toi , et à ta manière d'expliquer :)
@abithakp30733 жыл бұрын
Thank u so much... This was really helpful❤
@OfficialLogisharp8 жыл бұрын
Help me, Error at "Command = New MySqlCommand(Query, MysqlConn)
@MJB9410 жыл бұрын
Hi ... Thank you ... your tutorials Are so good for me ;) you explain every thing very well .... please keep going .
@HaredMeza8 жыл бұрын
Excellent man... It works great, thanks for explaining. Keep it up.
@ProgrammingKnowledge10 жыл бұрын
@pravinhirani742210 жыл бұрын
hi there, can we add into labels instead of using a datagrid
@volikoto9 жыл бұрын
Thank You, you saved my dilemma.
@kennethlaunceconsimino794810 жыл бұрын
Good day sir i was trying to do the things you said in this video, once i run the system there is statement said that " Object reference not set to an Instance of an object" here is the code Private Sub Load_table() MySqlConn = New MySqlConnection MySqlConn.ConnectionString = "server=localhost;userid=root;password=;database=student_attendance" Dim dbDataset As New DataTable Dim bSource As New BindingSource Dim SDA As MySqlDataAdapter Try MySqlConn.Open() Dim Query As String Query = "Select * from student_attendance.student" COMMAND = New MySqlCommand(Query, MySqlConn) SDA.SelectCommand = COMMAND SDA.Fill(dbDataset) bSource.DataSource = dbDataset DGStudent.DataSource = bSource SDA.Update(dbDataset) MySqlConn.Close() Catch ex As Exception MessageBox.Show(ex.Message) Finally MySqlConn.Dispose() End Try also the SDA has an error said that " variable SDA is used before it has been assigned a value. a null reference exception could result at runtime. so i put the Dim SDA as Mysqldataadapter in GLobal the error was gone, but the " Object reference not set to an Instance of an object" is still the problem please help me to solve this case thank you so much!
@knutanders9510 жыл бұрын
"Dim SDA As MySqlDataAdapter" will only set the datatype for SDA. Maybe you should try "Dim SDA As New MySqlDataAdapter" or "Dim SDA As MySqlDataAdapter = new MySqlDataAdapter" instead? =)
@kennethlaunceconsimino794810 жыл бұрын
thank you sir i already solve this problem, i use form class as a connection for my datagrid, but i really appreciate your response, sir maybe you can help me with my problem in my thesis, my system is attendance monitoring using RFID Scanner, my problem is the condition on how to get the time in and time out in ever tap of ID and also to save and retrieve Picture in my SQL database.. hope you can help me with this matter.. thank you
@knutanders9510 жыл бұрын
I dont know to mach about this subject, maybe you should try stackowerflow?
@TechNicksGaming9 жыл бұрын
How did u solve this problem? I have this problem too.... help me please thanks...
@Iarksys9 жыл бұрын
jerico olino : Dim SDA As New SqlDataAdapter
@sarragarobert259 жыл бұрын
Greetings sir! I am a big fan of yours and I kinda trying to make my own program which is base from your teachings. Well the problem is I do not know how to make report base on database. I tried to watch different videos with regards to report viewer but I still fail to do what I want. Please make some tutorial with regarding my problem. Thanks in advance sir. God bless
@ajsantos37395 жыл бұрын
How about if I just want the table to appear right away after opening the Form? Is possible without the 'Load Table' button? Please answer
@joffpascual7 жыл бұрын
hi ive just follow your code and after ive save my data in the database its duplicating may data in the table and for me to see the updated table i just need to click the load table button again. what should i do? thanks
@michaeljeromemamauag28368 жыл бұрын
hey can you display it in another form ?? i mean create new form using codes only?? not adding using the toolbox and display there the data or record thanks in davance!!!
@zazafeur34679 жыл бұрын
thank you sir i have a probleme with valus null afffiche message d'erreur/les donnees sont null cette méthode ou proprieté ne peut pas etre appellée sur des valeurs null please help me
@mohammedradman457510 жыл бұрын
how i can conuct the database oracle 10g with vb.net in network. please help meet do that.
@iamelyhk35787 жыл бұрын
hi .. i'd follow the things you did but i've got this kind of error : the selectCommand property has not been initialized before calling 'FILL'.. Can you help me fix this error?! thank you very much in advance
@rahulchaturvedi909410 жыл бұрын
This is really helpful..thanks!
@MhikzTatz7 жыл бұрын
can you load access mdb instead of sql sir?
@2009Edifer8 жыл бұрын
Hello there , foirst of all I would like to thank you for your help Could you please show me how to import date from MySQL to show in DATGRIDVIEW when selecting combox.
@premdangle48014 жыл бұрын
sir why u use sda.update(dbDataset)
@nicolascapistrano68137 жыл бұрын
hi sir , i watched all your tutorials regarding this topic and somehow i am stuck at this problem when you click on load button theres an error says you cant connect to this mariadb server, can you please tell me how to solvee this
@moniquenoche7 жыл бұрын
My error is column count doesn't match value count at row 1. this is my code ---- Query = "INSERT INTO sampledatabase.sampletable (id, name, place) values(' ', ' ', ' ');" is this correct? bec you didnt show the right side of the vids. Thank you
@salwahamim531 Жыл бұрын
Can i show the database tables without the button clicking "Load data"?
@atheistapostate70196 жыл бұрын
I keep getting an error "cannot find column" For my textbox used... ' Search Box for searching MICR Results Dim DV As New DataView(dbDataSet) DV.RowFilter = String.Format("CompanyName like '%{0}%'", TextBox21.Text) DataGridView1.DataSource = DV And "Dim dbDataSet As New DataTable" declared under Public Class Form 2 where the code is. I have my system.data.sqlclient (Using SQLClient over MySql)
@sakethk34877 жыл бұрын
thanks for all the vedios. all are awsome, can you make the same using the sql server management studio instead of mysql that would be helpful even though most of the code looks the same
@manuelcuevas31159 жыл бұрын
thanks you so much for share yours khowledge I want export worksheet excel to mysql database since visual basic how can do it ????? please help me !!!!!!
@thurmanjenner17459 жыл бұрын
Manuel Cuevas You would need to load the dataGridView with Excel first, then have a button to save (insert) data to mysql. To connect with excel you will need something like the following... If Textbox1.Text = Nothing Then Dim Xconn As OleDbConnection Dim str As String Dim cmd As OleDbCommand Dim da As OleDbDataAdapter Dim table As DataTable = New DataTable() Xconn = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\test\jobcardreg.xlsm;Extended Properties=""Excel 12.0 Macro;HDR=YES"";") ' str = "Select * From [Sheet1$]" cmd = New OleDbCommand(str, Xconn ) da = New OleDbDataAdapter(cmd) Xconn .Open() da.Fill(table) Me.DataGridView1.DataSource = table Else Dim dt As New DataTable() dt = TryCast(DataGridView1.DataSource, DataTable) If dt IsNot Nothing Then dt.DefaultView.RowFilter = String.Format("fieldname = '{0}'", Trim(Textbox1.Text)) End If End If
@Rockajm8 жыл бұрын
Thank u sir , can u tell me how to search exact value in datagridview
@kumarsanu88818 жыл бұрын
if i have 2000 daya with image so datagrid view table shown all record in second?
@kiriyusuna80469 жыл бұрын
Sir! How to view multiple tables? I have 3 tables and I want to view it individually in datagridview.. How do I do that? SIR PLEASE REPLY!
@kumaresanmurugan12627 жыл бұрын
thanks man really helpful . can you upload video, VB.NET WPF : How to Link ListBox and ComboBox with Database.?
@swapsoftnic74779 жыл бұрын
how can we a setup of thıs also plz tell me.. and how to connect a database whıle setupıng
@suyashdongre2 жыл бұрын
Thank You So Much!
@manojkumarravidas49818 жыл бұрын
sir how can see your previous video
@yoelbm9 жыл бұрын
Thank you ProgrammingKnowledge for your videos. I want to display a Boolean column from Mysql Database as a checkbox column in the datagridview. Can someone help me please? I'm a beginner
@thegreatplanet50245 жыл бұрын
Make identify inset bro ...this will retrive next number of id automatically 😂..smile if you got me
@rinceleung8 жыл бұрын
Thank you very much.
@SAJITHMU3 жыл бұрын
I got error -The given key was not present in the dictionary.-
@swapsoftnic74779 жыл бұрын
how to store the ımage ın database and dısplay ıt.... plz tell me plz......
@thurmanjenner17459 жыл бұрын
omkar fatale I do, with little performance drop. I have up to 12 images stored for each part (1000's) in my database. What I did was put all images into it's own Database so that it can be transferred to an additional deticated drive when I can get around to buying one of those handy 6tb drives for $250. So yes, I would also like to know how I can store images without having to go through a "addWithValues' routine. What you propose is not as easily done when you are running mysql on Ubuntu Server. Where would you put your images so they can be referenced? Keep in mind that I will be rewriting this in PHP as well so that it will be compatible for our Macs as too.
@thurmanjenner17459 жыл бұрын
Swap Softnic Take a look at this, see if it helps. (SPECIAL NOTE: Images must be set to no lower than MEDIUMBLOB in MySQL Datatype. Simply using BLOB will only give you the top pixels of an image, not the whole image.) Using MySqlConn As New MySqlConnection(connectionString) Dim Query As String Query = "INSERT INTO MOCA.photos (id,Link_id,img,Primary) " & "VALUES (@myid,@myLink_id,@myIMG,@myPrimary)" Dim mstream As New System.IO.MemoryStream() PictureBox1.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage() As Byte = mstream.GetBuffer() mstream.Close() Using COMMAND As New MySqlCommand() With COMMAND .CommandText = Query .Connection = MySqlConn .Parameters.AddWithValue('@myid', TextBoxID.Text) .Parameters.AddWithValue("@myLink_id", TextBoxLinkID.Text) .Parameters.AddWithValue("@myIMG", arrImage) Dim pi As Char If CheckBox1.Checked Then pi = "Y" Else pi = "N" .Parameters.AddWithValue("@myPrimary", pi) End With Try MySqlConn.Open() COMMAND.ExecuteNonQuery() Catch ex As Exception MsgBox("MySQL Exception has occured with message: " & ex.Message & vbCr & ex.Data.ToString & vbCr & "Line not added to dataset!") Finally MySqlConn.Close() MySqlConn.Dispose() End Try End Using End Using
@jackdog27596 жыл бұрын
help sir, "Unable to convert MySQL date/time value to System.DateTime
@Mhajjar9210 жыл бұрын
i cant use BindingSource, you always dont mention how you declare your arguments and commands, if you can always show how u declare everything because beginners like me will not know how to do anytthing with ur code
@charlitomondragon14513 жыл бұрын
how to fetch all values in names column vb.net
@twinkledawani4509 жыл бұрын
I wrote this code but i am not getting any output please help me.
@reactionvideo33955 жыл бұрын
Why did you update in SDA.
@deepakthapa952810 жыл бұрын
Dim dbSetData as DataTable = New DataTable .... for avoiding warning.. :p
@kenz18418 жыл бұрын
I am having duplicate value in mydatagridview anyone help!!
@jadesunga88768 жыл бұрын
pre, pano mo nasolusyunan ?
@janvidhonde34072 жыл бұрын
I want the source code can u provide it?
@flobamorabajawa83735 жыл бұрын
erro SDA is not accessible help me
@ShahriyarSaqif10 жыл бұрын
plz share the project file for practice...
@carl3486 жыл бұрын
thanks bruh
@itsjustme50228 жыл бұрын
tnx man.. :)
@330thSion6 жыл бұрын
It says that "The host localhost does not support SSL connections." Hellllllp