Visual basic.net: retrieve data from SQL server Database and display in textbooks-VB.net

  Рет қаралды 19,730

Programming for Everybody

Programming for Everybody

Күн бұрын

Пікірлер: 32
@j.m.2439
@j.m.2439 Жыл бұрын
thank you!! i was able to get a data using the code from your tutorial!! thank you very much!
@minus4642
@minus4642 9 ай бұрын
Thank you! This video has helped me immensely.
@enochnanaasare4102
@enochnanaasare4102 4 жыл бұрын
hi, i tried using your code for retrieving data from sql server database and displaying in textbox using vb.net and i had incorrect syntax near "=". and the error was on myreader = cmd.ExecuteReader, how do i resolve that?
@programmingforeverybody
@programmingforeverybody 4 жыл бұрын
are you type code like video , sure from type fields
@mulanovaart5367
@mulanovaart5367 3 жыл бұрын
i faced the same challenge, did you end up finding the solution?
@peterkearns2749
@peterkearns2749 2 жыл бұрын
i had the same and i had a space in the database naming e.g. Coca Cola and the correction of Cocacola fixed this problem. I had the same problem when the heading of my database did not match the code i put in.
@Haval.M5
@Haval.M5 Жыл бұрын
I am getting this same error. I am typing a alphanumeric in the textbox1 field. Like 12A345-6789.
@mhd911
@mhd911 4 жыл бұрын
Hi , how can i check the record count ?
@christianchristian6208
@christianchristian6208 3 жыл бұрын
i tried your code but i had a invalid attempt to read when no data is present. but i have data in my sql database, how can i fix this?
@programmingforeverybody
@programmingforeverybody 3 жыл бұрын
kzbin.info/www/bejne/aZvbfnt7bLeHrdk this is solution
@yashasjoo4480
@yashasjoo4480 4 жыл бұрын
Hii .. I used used u r code , I'm using my SQL and vb.net2019 . I'm getting eror like conn is nothing ...it's not working
@programmingforeverybody
@programmingforeverybody 4 жыл бұрын
can you send me message error?
@afiqahjumali6308
@afiqahjumali6308 3 жыл бұрын
Hi, i wanna ask... is Sql server database same with phpmyadmin?? Or i need to install some apps?
@programmingforeverybody
@programmingforeverybody 3 жыл бұрын
you need some program>>> see this video>>>> kzbin.info/www/bejne/mnaonJSwaLx4lcU
@gustianrosadi1725
@gustianrosadi1725 Жыл бұрын
thanks bro appreciate your help
@Haval.M5
@Haval.M5 Жыл бұрын
Just curious on why you used a DataSource, seems like that you could've achieved the data pull with your SQL statements? Sorry, I'm fairly new to VB. Edit: Sorry, I looked again, you used it to pull the Data Source info for the connection lol. My bad.
@AnandKumar-fo8rb
@AnandKumar-fo8rb 4 жыл бұрын
Thank you data searched successfully
@saidali1009
@saidali1009 3 жыл бұрын
how to search from two table with views can you make
@programmingforeverybody
@programmingforeverybody 3 жыл бұрын
بنفس الفكرة اللي في الفيديو ده ولا شكل تاني ؟
@saidali1009
@saidali1009 3 жыл бұрын
@@programmingforeverybody اهلين اخي الكريم عملت مشروع بسيط عن طريق اس كيو أل وتم ربطة بالفيجوال بيسك الجدول الأول فيه البيانات التالية: الرقم المدني ( التكرار غير مقبول ) الاسم تاريخ الميلاد هاتف العمل هاتف النقال العنوان الملاحظات الجدول الثاني الرقم المدني( السماح بالتكرار ) التاريخ الراتب الشهري الخصم تم ربط الجدولين عن طريق( فيؤوview) وتم عمل فورم في الفيجوال بيسك دوت نت وتم استعداء الاستعلام ... اللي اريده منك يا اخي الكريم عند ادخال الرقم المدني تظهر جميع البيانات في الحقول واضافة باقي الخانات مثل الراتب الشهري والخصم مع إضافة زر الحفظ //// ولكم جزيل الشكر /// وفي ميزان حسناتك
@saidali1009
@saidali1009 3 жыл бұрын
أتمنى وصلت الفكرة والف شكر اخي الكريم
@abdokethoney5029
@abdokethoney5029 Жыл бұрын
If no. Data in sql... Retrive Null... Mske if statment for. Reader
@programmingforeverybody
@programmingforeverybody Жыл бұрын
kzbin.info/www/bejne/aZvbfnt7bLeHrdk
@abdokethoney5029
@abdokethoney5029 Жыл бұрын
@@programmingforeverybody Do you have example of use isDbzNull command
@abdokethoney5029
@abdokethoney5029 Жыл бұрын
@@programmingforeverybody Try email me to get. Work with you for my. Company..
@programmingforeverybody
@programmingforeverybody Жыл бұрын
programmingforeverybody@yahoo.com
@layuggeralddanao9715
@layuggeralddanao9715 3 жыл бұрын
THANKYOU VERY MUCH !!!!!!!!!!
@gerardogonzalez184
@gerardogonzalez184 3 жыл бұрын
Muchas gracias
@anomolisagag2270
@anomolisagag2270 4 жыл бұрын
i was searching for, how to retrieve data from database and store it to visual basic variable for example, u have "first name" in a database, and u store it in "Dim name as String"... how do we do that?
@anomolisagag2270
@anomolisagag2270 3 жыл бұрын
@@browndrex1547 umm, thku but since its 3 months ago, ive already figured it out
@mariadass226
@mariadass226 3 жыл бұрын
i used your code but im getting an error like invalid column name but when i give Username and fetch the last entered dat is shown what is the problem can you please help
@programmingforeverybody
@programmingforeverybody 3 жыл бұрын
invalid column name: this mean there is error column name in statement's select
VB. NET: insert, update and  delete  data in Listview without using database
19:21
Programming for Everybody
Рет қаралды 20 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Programming in Visual Basic .Net: how to Connect SQL server  Database to VB.Net
14:23
Programming for Everybody
Рет қаралды 120 М.
difference between dataset and datatable in vb.net
15:16
VB Developing
Рет қаралды 1,2 М.
Backup and Restore SQL Server database using VB.NET
18:16
Coding World
Рет қаралды 6 М.
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Database Star
Рет қаралды 93 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 221 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН