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

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

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 7 ай бұрын
Thank you! This video has helped me immensely.
@gustianrosadi1725
@gustianrosadi1725 11 ай бұрын
thanks bro appreciate your help
@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.
@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.
@yashasjoo4480
@yashasjoo4480 3 жыл бұрын
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 3 жыл бұрын
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
@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
@AnandKumar-fo8rb
@AnandKumar-fo8rb 4 жыл бұрын
Thank you data searched successfully
@mhd911
@mhd911 4 жыл бұрын
Hi , how can i check the record count ?
@layuggeralddanao9715
@layuggeralddanao9715 3 жыл бұрын
THANKYOU VERY MUCH !!!!!!!!!!
@gerardogonzalez184
@gerardogonzalez184 3 жыл бұрын
Muchas gracias
@saidali1009
@saidali1009 2 жыл бұрын
how to search from two table with views can you make
@programmingforeverybody
@programmingforeverybody 2 жыл бұрын
بنفس الفكرة اللي في الفيديو ده ولا شكل تاني ؟
@saidali1009
@saidali1009 2 жыл бұрын
@@programmingforeverybody اهلين اخي الكريم عملت مشروع بسيط عن طريق اس كيو أل وتم ربطة بالفيجوال بيسك الجدول الأول فيه البيانات التالية: الرقم المدني ( التكرار غير مقبول ) الاسم تاريخ الميلاد هاتف العمل هاتف النقال العنوان الملاحظات الجدول الثاني الرقم المدني( السماح بالتكرار ) التاريخ الراتب الشهري الخصم تم ربط الجدولين عن طريق( فيؤوview) وتم عمل فورم في الفيجوال بيسك دوت نت وتم استعداء الاستعلام ... اللي اريده منك يا اخي الكريم عند ادخال الرقم المدني تظهر جميع البيانات في الحقول واضافة باقي الخانات مثل الراتب الشهري والخصم مع إضافة زر الحفظ //// ولكم جزيل الشكر /// وفي ميزان حسناتك
@saidali1009
@saidali1009 2 жыл бұрын
أتمنى وصلت الفكرة والف شكر اخي الكريم
@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
@anomolisagag2270
@anomolisagag2270 3 жыл бұрын
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 М.
VB.NET and SQL Server-How to Insert, Delete and Update?
16:02
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 115 МЛН
Человек паук уже не тот
00:32
Miracle
Рет қаралды 4 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 1,6 МЛН
Programming in Visual Basic .Net: how to Connect SQL server  Database to VB.Net
14:23
Programming for Everybody
Рет қаралды 118 М.
difference between dataset and datatable in vb.net
15:16
VB Developing
Рет қаралды 1,1 М.
Советский мультфильм про нашу жизнь !
13:49
Дедушка Аргентинца
Рет қаралды 6 МЛН
How to Display Data from MySql to Datagridview using VB.Net
10:16
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН