+Jordan Nash Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you th-cam.com/users/kudvenkatplaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. th-cam.com/video/y780MwhY70s/w-d-xo.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. th-cam.com/users/kudvenkat If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Good Luck Venkat
Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
Please watch ado.net and then asp.net. There are no more video's in ado.net. However, when you get to gridview tutorial, you will get to know more about insert, update, select and delete's on a database. Good Luck.
Thanks a lot. Just one thing, if you don't enter the validation for the post back event on the page_load handler, when you make click on the button, the viewstate recovered on the page_init handler will be replaced by the query again and you have lost your selection.
sir can u make a video for how to get database connection in asp.net step by step asp.net to data base and database to asp.net both i want as soon as possible give reply to me thankyou for wonderful tutorial about asp.net
Which playlist do you recommend to understand what is going on here? Because this is a first time in this playlist I do not know what are you doing xd.
hello sir i want to become asp.net developer but i don't have any programming language knowledge so please tell me what is the first step and what i do for become best developer....
Please Create Video tutorial on 'Creating dropdownlist in asp.net mvc framework' in which populating dropdownlist from database and also save values from the form contain dropdownlist into database.
Can you please guide us how to follow your videos. I mean can you sort them. witch playlist is first and witch is next ? EX : I followed asp.net, but i discovered that you tell me that i should see ADO.net thank you
+saleh ali The following is the order 1. C# 2. Dot Net Basics 3. SQL Server 4. ADO .NET 5. ASP .NET 6. GridView tutorial 7. MVC 8. WCF 9. Entity Framework 10. LINQ 11. LINQ to XML 12. LINQ to SQL 13. Chart Control 14. JavaScript 15. JavaScript with ASP .NET 16. jQuery 17. AngularJS
+kudvenkat Hi sir, Thank you very much for your lesson. Need an urgent help. ** Please give a demo on "how to import data in textbox control from database using c# upon selection a value from a dropdownlist and pressed the button control." ** I.e suppose i select a teacher name from a ddl_control & after pressing the btn i want to display his mobile number and subject in a txtbox_control, whether i have set teacher email as the primary key in database table.
Explained well but when I did exactly same coding and while running it is displaying run time error that Use new keyword to create an object instance at string CS, why so?
I would like to see how u do something like this but retrieving from database with values that u create no databound just ur own values u add in the dropdown.. idk if that makes sense.
In order to get the correct connection string for the Web.Config file, right click the database connection in the Server Explorer window > properties: Connection String
Sir,your tutorial is awesome.It great help me .sir,i am passed connection in cs file instead of web.config file,then only it works.but if ,i am adding connection in web.config file it throw me runtime exception.Login failed for user ''. The user is not associated with a trusted SQL Server connection.plz sir tell me how to solve this error.and why sir adding connection in web.config file if it work on .cs file.plz clear my dout sir.
Hi ! Question ... If all ASP.NET controls preserve their state in the ViewState object why then after every post back to the server data from DataBase didn't add to DropDownList BEFORE plaicing the code in "!IsPostBack" block ? I don't understand ... Data shoud have been added each time you click the button generating post back. Or not ?
The reason is because the ListItem are populated from the data returned from database. Which means everytime the query executes, the items are placed as the list items. This happens irrespective of the initial state of the DropDownList. As opposed to the method the Item.Add() method from the DropDownList object which simply adds new list items.
sir how about ms access? i want to input my tables in the drop down list. and when i clicked it .. the items on my tables will show up.? tnx for the help sir
ADO .NET Playlist th-cam.com/play/PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7.html You can find all the other playlists at the following link th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
How to add Table menu ( to insert tables in Form ) in To Menu /Tool bar .iI tried with Custimize option but not working ,it just adds name but cannot be used.
i have a problem im using visual studio 2013. the i go to the view the code it show differently . how to show 2 values in one drop down box.. such as you want to show the cityName and cityId together.. can it be done.. hope u can help me or somebody know about it
Severity Code Description Project File Line Error 'ASP.diiwaangalin_aspx' does not contain a definition for 'DropDownList1_SelectedIndexChanged' and no extension method 'DropDownList1_SelectedIndexChanged' accepting a first argument of type 'ASP.diiwaangalin_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\DEEQ YARE\Documents\Visual Studio 2015\WebSites\WebSite1\diiwaangalin.aspx 33 Severity Code Description Project File Line Error 'ASP.diiwaangalin_aspx' does not contain a definition for 'DropDownList2_SelectedIndexChanged' and no extension method 'DropDownList2_SelectedIndexChanged' accepting a first argument of type 'ASP.diiwaangalin_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\DEEQ YARE\Documents\Visual Studio 2015\WebSites\WebSite1\diiwaangalin.aspx 45 how to solve this sproblem
Hello Sir, I didn't find ConfigurationManager in aspx.cs file??..i also add the reference System.Configuration in that file and add a connection string in web.config file bt i didn't find?? what i do??? Please help me sir...
+leena jethva yes you have to add the assembly but today is more simple bind data in DropDowList for example with LinQ to SQL: if (!this.IsPostBack) { using (var context = new CountryDataContext()) { var countries = context.UserCountry; foreach (var country in countries) { this.DropDownList1.Items.Add(new ListItem { Text = country.CityName, Value = country.CityID.ToString() }); } } }
+Sameer Sharma u cannot retrieve data using asp.net . U need to use ADO.net or entity framework. Refer to playlists at kudvenkats home page for ADO.net and entity framework tutorials
please i get this error when I bind the data to a DDL from a SQL database "DataBinding: 'System. Char' does not contain a property with the name " what can be the problem please!!
Thanks, used the dropdownlist's DataTextField property to render the data I'd long awaited. :)
113,808 views richly deserved.
+Jordan Nash Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
If you need DVDs or to download all the videos for offline viewing please visit
www.pragimtech.com/kudvenkat_dvd.aspx
Slides and Text Version of the videos can be found on my blog
csharp-video-tutorials.blogspot.com
Tips to effectively use my youtube channel.
th-cam.com/video/y780MwhY70s/w-d-xo.html
If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
th-cam.com/users/kudvenkat
If you like these videos, please click on the THUMBS UP button below the video.
May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
Good Luck
Venkat
karan
Excellent screen layouts and concise verbal explanations. You are VERY good at creating tutorials, the best I've seen on TH-cam.
Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.
Thanks so much , been searching for drop down list bind with database for hours without any use , this saved me.
Ur Rhythm of voice and clarity on subject is simply magnificent.God bless u. Keep it up Venkat.
thank u sir it is the rarerest tutorial i found ......amazing explaination,tysm
Gracias por sus videos, Soy de Colombia y me han servido mucho.
You are a very good teacher.Keep up the good work and thank you for making these videos.
Thanks, I like the deliberate error introduced of omitting text field etc. That helps understanding. Another good training video
Thank You venkat You are great.
appreciated, worth watching your videos, as always.
Thank you! Outstanding as always!
This video was enormously helpful
just what i've been looking for.. god bless you, you have a new suscribe!
Searched all over for this !
I love your videos. U are best
Great tutorial thanks for sharing.. Dhanwaad from Italy
thank you sir. its very useful for me and well explanation.
Thanks Sir such a very usefull video
bro you're a legend
Great video, as usual.
Omg, thank you very much, love you!!!!!!!!!!!
Thank you so much, 2018 and this still works :D thank you again...
Bro! Thanks, very clear!
Thank you so much, above all you use errors to teach common mistakes
thank you... very useful and important...
but I have a Q>
why the data doesn't repeated when you pressed the button before (!postback)?
Great jobs!! my friend
an other excellent as usual.
Awesome, as always.
Please watch ado.net and then asp.net. There are no more video's in ado.net. However, when you get to gridview tutorial, you will get to know more about insert, update, select and delete's on a database. Good Luck.
Thanks for sharing your knowledge =)
Thanks a lot. Just one thing, if you don't enter the validation for the post back event on the page_load handler, when you make click on the button, the viewstate recovered on the page_init handler will be replaced by the query again and you have lost your selection.
sir can u make a video for how to get database connection in asp.net step by step
asp.net to data base and database to asp.net both i want as soon as possible give reply to me thankyou for wonderful tutorial about asp.net
Hi! sir
can you please upload videos for LINQ also,your videos are superb i have no words to describe it..thanks for sharing with us..t.c
very very thanks to u..
Great thank you
Thanks Alot sir
Now to start my project :)
Sir thanku & luv u
Legends watching in 2022
thanks good tutorial
Which playlist do you recommend to understand what is going on here? Because this is a first time in this playlist I do not know what are you doing xd.
hello sir i want to become asp.net developer but i don't have any programming language knowledge so please tell me what is the first step and what i do for become best developer....
Please Create Video tutorial on 'Creating dropdownlist in asp.net mvc framework' in which populating dropdownlist from database and also save values from the form contain dropdownlist into database.
Thanks for this wonderful video. Now im wondering how can I add a search function from the data on the dropdownlist? Can you help please thank you!
Thank you...
Amazoning ta
Can you please guide us how to follow your videos. I mean can you sort them. witch playlist is first and witch is next ? EX : I followed asp.net, but i discovered that you tell me that i should see ADO.net
thank you
+saleh ali
The following is the order
1. C#
2. Dot Net Basics
3. SQL Server
4. ADO .NET
5. ASP .NET
6. GridView tutorial
7. MVC
8. WCF
9. Entity Framework
10. LINQ
11. LINQ to XML
12. LINQ to SQL
13. Chart Control
14. JavaScript
15. JavaScript with ASP .NET
16. jQuery
17. AngularJS
Thank you very much
+kudvenkat Hi sir, Thank you very much for your lesson. Need an urgent help.
** Please give a demo on "how to import data in textbox control from database using c# upon selection a value from a dropdownlist and pressed the button control." **
I.e suppose i select a teacher name from a ddl_control & after pressing the btn i want to display his mobile number and subject in a txtbox_control, whether i have set teacher email as the primary key in database table.
saleh ali
Thanks for the tutorial, but how about bind the datasource in the desginer?
Explained well but when I did exactly same coding and while running it is displaying run time error that Use new keyword to create an object instance at string CS, why so?
I would like to see how u do something like this but retrieving from database with values that u create no databound just ur own values u add in the dropdown.. idk if that makes sense.
In order to get the correct connection string for the Web.Config file, right click the database connection in the Server Explorer window > properties: Connection String
Sir,your tutorial is awesome.It great help me .sir,i am passed connection in cs file instead of web.config file,then only it works.but if ,i am adding connection in web.config file it throw me runtime exception.Login failed for user ''. The user is not associated with a trusted SQL Server connection.plz sir tell me how to solve this error.and why sir adding connection in web.config file if it work on .cs file.plz clear my dout sir.
Hi ! Question ...
If all ASP.NET controls preserve their state in the ViewState object why then after every post back to the server data from DataBase didn't add to DropDownList BEFORE plaicing the code in "!IsPostBack" block ? I don't understand ... Data shoud have been added each time you click the button generating post back. Or not ?
I am also looking for the same answer. I have not found yet. Have you got the answer?
Because of DataSource and DataBind() lines of code. Every time data binding occurs, resetting the DropDownList.
The reason is because the ListItem are populated from the data returned from database. Which means everytime the query executes, the items are placed as the list items. This happens irrespective of the initial state of the DropDownList. As opposed to the method the Item.Add() method from the DropDownList object which simply adds new list items.
How to use this code in-store procedure? explain some a few lines.............
sir how about ms access? i want to input my tables in the drop down list. and when i clicked it .. the items on my tables will show up.? tnx for the help sir
Why the view state restoration does not take place in dropdown list as like earlier when we click a button and page reloads
Why did you use "using System.Data;" while you were using "using System.Data.SqlClient;"? I removed it and nothing wrong happened!
thanks you for all.
But my data is encrypted .. and i want to Bind data from the datbase and Display to Dropdownlist with Decrypted Data.. please help me
how can i do the opposite which means taking data from dropdownlist and send it to database
You can just add an Insert method example:
con.Open();
SqlCommand cmd = con.CreateCommand();
cmd.CommandType = CommandType.Text;
cmd.CommandText = "INSERT INTO tableVALUES ('", '" + DropDownEmpID.Text + "')
After binding how to select value from that drop-down list?? it's not getting selected.. please give me solution..
how I when i select from Dropdownlist the infrommations of that item selected will show in Gridview ?
how to save the cityid of the cityname on the database while displaying country name on the dropdownlist?
Please make videos in vb
can u pls send the link of ADO.net video series to refer before this session.Thanks
ADO .NET Playlist
th-cam.com/play/PL6n9fhu94yhX5dzHunAI2t4kE0kOuv4D7.html
You can find all the other playlists at the following link
th-cam.com/users/kudvenkatplaylists?view=1&sort=dd
How to add Table menu ( to insert tables in Form ) in To Menu /Tool bar .iI tried with Custimize option but not working ,it just adds name but cannot be used.
i have a problem im using visual studio 2013. the i go to the view the code it show differently .
how to show 2 values in one drop down box..
such as you want to show the cityName and cityId together.. can it be done..
hope u can help me or somebody know about it
Severity Code Description Project File Line
Error 'ASP.diiwaangalin_aspx' does not contain a definition for 'DropDownList1_SelectedIndexChanged' and no extension method 'DropDownList1_SelectedIndexChanged' accepting a first argument of type 'ASP.diiwaangalin_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\DEEQ YARE\Documents\Visual Studio 2015\WebSites\WebSite1\diiwaangalin.aspx 33
Severity Code Description Project File Line
Error 'ASP.diiwaangalin_aspx' does not contain a definition for 'DropDownList2_SelectedIndexChanged' and no extension method 'DropDownList2_SelectedIndexChanged' accepting a first argument of type 'ASP.diiwaangalin_aspx' could be found (are you missing a using directive or an assembly reference?) C:\Users\DEEQ YARE\Documents\Visual Studio 2015\WebSites\WebSite1\diiwaangalin.aspx 45
how to solve this sproblem
couldn't find the same code in web.config file.. what to do ?
How to add option
group to this?
Hello Sir,
I didn't find ConfigurationManager in aspx.cs file??..i also add the reference System.Configuration in that file and add a connection string in web.config file bt i didn't find?? what i do???
Please help me sir...
+leena jethva yes you have to add the assembly but today is more simple bind data in DropDowList for example with LinQ to SQL:
if (!this.IsPostBack)
{
using (var context = new CountryDataContext())
{
var countries = context.UserCountry;
foreach (var country in countries)
{
this.DropDownList1.Items.Add(new ListItem
{
Text = country.CityName,
Value = country.CityID.ToString()
});
}
}
}
+leena jethva just ignore that. add your connection string in new sql connection. it will work same. :)
Thank you so much..
I still dun get it why the dropdownlist wont get duplicated?? Can anybody answer my question?
cz i think v r displaying data not adding data in page load event
Because of DataSource and DataBind() lines of code. Every time data binding occurs, resetting the DropDownList.
Anyone knows where I can find video about how to retrieve data from Database by using ASP.net
+Sameer Sharma u cannot retrieve data using asp.net . U need to use ADO.net or entity framework. Refer to playlists at kudvenkats home page for ADO.net and entity framework tutorials
When i do the same this , i face the error which i can't understand and solver ...Error is null value of... string CS any body can help me ???
7:32
Hi
please i get this error when I bind the data to a DDL from a SQL database
"DataBinding: 'System. Char' does not contain a property with the name
"
what can be the problem please!!
I recommend you, look for that error in google, or stackoverflow.com,
Best regards.