Cascading dropdown asp.net Part 22

  Рет қаралды 220,307

kudvenkat

kudvenkat

Күн бұрын

Пікірлер: 95
@georgigeorgiev4871
@georgigeorgiev4871 8 жыл бұрын
Amazing, very well detailed and explained tutorial. Great job!
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 8 жыл бұрын
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 kzbin.infoplaylists?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. kzbin.info/www/bejne/r2ibYYCtnb5qZtU If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. kzbin.info 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
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
To receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. May I ask you for a favour. 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. If you like these videos, please click on the THUMBS UP button below the video.
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
Here is the order 1. C# 2. Dot Net Basics 3. SQL Server 4. ADO.NET 5. ASP.NET 6. GridView tutorial 7. MVC
@w.kooratv6717
@w.kooratv6717 3 жыл бұрын
Great and Greatness 💜💜
@krismaly6300
@krismaly6300 10 жыл бұрын
Clear and Crisply explained Cascading Drop Down Lists. I recommend others to watch. Thanks a lot
@debojyotichatterjee2845
@debojyotichatterjee2845 7 жыл бұрын
I absolutely loved this one!! I had already identified the problem you mentioned from 30:01. I figured it out myself and while doing that I thought I will comment about that here, but by the end of the video the I see that you took care of the problem of selecting the previous DropDownList option. However I need to see how I can refactor and reduce this code though. Really a great help! Moving on to the next video!!
@sharvaryrane1702
@sharvaryrane1702 7 жыл бұрын
Ur just "The" best.... U explain so much in detail... Great job.. Worth watching your videos and learning in details...
@rifaqatullah2379
@rifaqatullah2379 7 жыл бұрын
Sir you deserve billion likes...thumb up
@MrJohn2475
@MrJohn2475 6 жыл бұрын
thank you, life saver for a new C# student!
@Fkn1405
@Fkn1405 4 жыл бұрын
Wow... This tutorial still very much valid in 2020. Thank you very much Venkat for such passion and hard work. Watching from South Africa
@Ayubajbnabi
@Ayubajbnabi 11 жыл бұрын
Thanks allot for these very useful easy to understand and precise tutorials. Heart prays for you. Thanks.
@mguyf_artwork5864
@mguyf_artwork5864 3 жыл бұрын
Many thanks to your work👌🙏🙏I respect, God bless you 🙏.
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
I understand, you might have checked this already, but just to make sure, have you verified if for any of the dropdownlist, DataSourceID property is specified. Please note that we are specifying DataSource dynamically in code and hence DataSourceID property in the HTML is not required. Hope this solves the issue you have. Please let me know how it goes. Good Luck.
@programmerrafik
@programmerrafik 8 жыл бұрын
you are professional =D and your vidio is very comprehensive videos thanx alot
@AlexMartinez-be2rh
@AlexMartinez-be2rh 10 жыл бұрын
Exactly that the way that make programms in my company, Thanks a lot for this tutorials.
@jamalfaiye5464
@jamalfaiye5464 2 жыл бұрын
Thanks Venkat You are the man :)
@Levi-qy2yb
@Levi-qy2yb 7 жыл бұрын
Thank you man this is very useful tutorial for me. And also i am learning coding from you.
@Dannydhanny
@Dannydhanny 12 жыл бұрын
Superb Venkat Garu!!!
@vaibhavtrikolikar4902
@vaibhavtrikolikar4902 6 ай бұрын
Thank you so much sir for another great Video..!
@behnamsafari4978
@behnamsafari4978 3 жыл бұрын
Great job with great details thanks
@ramyamusuku2022
@ramyamusuku2022 7 жыл бұрын
Excellent..Very well explained..Thank you for such wonderful explanation
@rhchino123
@rhchino123 10 жыл бұрын
Mr. Venkat where can i donate some money for u ? omg u r so good
@aamirjamal6833
@aamirjamal6833 7 жыл бұрын
I switch my adBlocker off while watching his videos only because he is worth it..
@Trzbne
@Trzbne 6 жыл бұрын
Me too, just watched an Udemi ad, but please visit www.pragimtech.com/support.aspx - aspx, if you know, what I mean :DD
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
Hi Abhi, check if the values for the first dropdownlist are being loaded in the Page_Load() event. Please check if you are doing the load in (!IsPostback) condition. I think this is what is the issue. If not please share your code. Good Luck. If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
@devangkamdar7574
@devangkamdar7574 6 жыл бұрын
Very well explained the complicated topic "Cascading Dropdown" Also choose smarter way when creating GetData()
@Aritro92
@Aritro92 2 жыл бұрын
Super. explained in detail.
@oraksoft7471
@oraksoft7471 7 жыл бұрын
oh man U saved me .Thankyouuuuuuuuuuuuuuuu.
@ivumm
@ivumm 7 жыл бұрын
Muy muy bueno. Bien explicado. Felicidades!!
@deepthitulasi13
@deepthitulasi13 11 жыл бұрын
Hi Venkat! Thank you for the wonderful videos. I have a issue in vb, my page has 5 cas dd n btn to filter. When i select one dd the other needs to be refreshed,that fine. The issue is I am using updatepanel to display results in gridview. So the refreshing of dd is taking long time depending on gridview results. If the results displayed are long then refreshing of dropdowns is long too..if its short then the refresh is short. I want the grid and dropdowns seperated.
@sarathchandra941
@sarathchandra941 7 жыл бұрын
thank u very much... for such a valuable information and marvelous explanation
@mouradbarakat123
@mouradbarakat123 12 жыл бұрын
Great presentation. Thank You!
@PaaruRetheesh
@PaaruRetheesh 11 жыл бұрын
Hello Venkat Thank you for your awsome tutorials...!!! I am a Computer Science graduate. Whn srchng jobs the main problm I am facing is the lack of hands on exp. So I am requesting you pls post video tutorials of small projects that make use of .net platform HTML XML CSS and ofcourse dont forget about the MVC technology. Try to incorporate all the technologies you discussed in diff video tutorials. If you do so it will be very very helpfull for people like me to try developing our own projects
@Devilnero1991
@Devilnero1991 11 жыл бұрын
Very helpful, god bless you sir.
@reshmisumanth1675
@reshmisumanth1675 10 жыл бұрын
Excellent teaching ... thanks alot
@RashidAli-tx3vm
@RashidAli-tx3vm 8 жыл бұрын
Much appreciated work mate.
@pavan1910
@pavan1910 11 жыл бұрын
Superb and Elegant..!!
@krismaly
@krismaly 11 жыл бұрын
Dear KV, You were taliking on Refacoring in video "Cascading dropdown asp.net Part 22 ". Is there anyway you could make a video on Refacoring for the same video. I think this kind of scenarios are frequesntly used in the industry. I hope your Refactoring video would help many including me. I have lots of appreciation for you.
@kipropeddie4254
@kipropeddie4254 8 жыл бұрын
great video, your work is awesome
@maiwanduniversity478
@maiwanduniversity478 4 жыл бұрын
Very Good Thanks
@MiddleEasternInAmerica
@MiddleEasternInAmerica 11 жыл бұрын
great effort, clear explanation I love your videos so much my brother hope you record some videos about design pattern and code re-factoring.
@shashb3194
@shashb3194 2 ай бұрын
really awesome sir
@sharmilamohan3882
@sharmilamohan3882 12 жыл бұрын
Clear Explanation tutorial. Understood many concepts from all of your videos. Could u please upload videos on crystal reports? Thanku ... Here some videos are little bit blur.
@jamoimccleary3664
@jamoimccleary3664 6 жыл бұрын
Amazing video. Really helped
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 11 жыл бұрын
Try removing the DatasourceID attribute and it should work as expected.
@jayan4657
@jayan4657 10 жыл бұрын
Sir ur tutorials are very useful,, thanks alot for this type of services
@DaviKobi
@DaviKobi 11 жыл бұрын
Hi Venkat Thanks for this great tutorials, keep up the good work. Is there any chance that this video can be performed only on client side without posting back to server each time?
@moorwahdan
@moorwahdan 6 жыл бұрын
Very organized, thank you very much
@Cougarbite
@Cougarbite 9 жыл бұрын
Good work!
@bebek8989
@bebek8989 9 жыл бұрын
great explanation venkatt
@juliobarriga
@juliobarriga 11 жыл бұрын
Great stuff.
@SiyamandRashid
@SiyamandRashid 8 жыл бұрын
thanks for all the efforts and good videos ; i have one question if you dont mind , i followed along the video , but when i select an item form first dropdown list ... it filters the 2nd dropdown list , without showing Select City text, and its not in the list , i have the code as belwo : public partial class Admin_test : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { ddlMake.DataSource = GetData("SP_ddlMake", null); ddlMake.DataBind(); ListItem liMake = new ListItem("Select make", "-1"); ddlMake.Items.Insert(0, liMake); ListItem liModel = new ListItem("Select Model", "-1"); ddlModel.Items.Insert(0, liModel); ddlModel.Enabled = false; } } private DataSet GetData(string SPName, SqlParameter SPParameter) { string cs = ConfigurationManager.ConnectionStrings["Test_Connection"].ConnectionString; SqlConnection con = new SqlConnection(cs); SqlDataAdapter sda = new SqlDataAdapter(SPName, con); sda.SelectCommand.CommandType = CommandType.StoredProcedure; if(SPParameter != null) { sda.SelectCommand.Parameters.Add(SPParameter); } DataSet DS = new DataSet(); sda.Fill(DS); return DS; } protected void ddlMake_SelectedIndexChanged(object sender, EventArgs e) { if (ddlMake.SelectedIndex ==0) { } else { ddlModel.Enabled = true; SqlParameter ddlModelParameter = new SqlParameter("@Make_ID", ddlMake.SelectedValue); DataSet ds = GetData("SP_ddlModel", ddlModelParameter ); ddlModel.DataSource = ds; ddlModel.DataBind(); } } }
@RowanGontier
@RowanGontier 8 жыл бұрын
Excellent tutorial.
@CodeRealtime
@CodeRealtime 11 жыл бұрын
Hi Venkat first thanks for uploading video lectures .. i am facing a problem while selecting data from dropdown .. dropdown is selecting only the first index 0 value .. and when i am selecting the other values .. it again sets the values to the first index 0 value.... conclusion not been able to select the other values . and yes i am performing cascading and fetching data from Database .
@rishabhagrawal1431
@rishabhagrawal1431 7 жыл бұрын
Awesome Video
@CodeRealtime
@CodeRealtime 11 жыл бұрын
Thank's .. but if it is possible can you please give us a demo on this problem through a video lecture and yes i had already subscribed to your channel long back .
@franksolomon5805
@franksolomon5805 11 жыл бұрын
Venkat, this vid like all the others = awesome stuff. Thanks so much! Suggestion: at about 8:30, you split off the data handling into private method DataSet. Before I got this specific ASP.net app working (I follow along w/the vid and change things to learn more) the DataSet method crashed. A lot. I found that try / catch / finally would help here. In the "catch" block, maybe have an error msg but definitely have return null; and in the finally block, have con.Close(); - Frank
@zk850715
@zk850715 4 жыл бұрын
Hi Venkat, How can I select text when I use data bind dropdown list? Thanks.
@sridharramachandran3835
@sridharramachandran3835 6 жыл бұрын
Thanks Venkat
@hlams2
@hlams2 11 жыл бұрын
yea i find that i had writen in specified datasourceID. these videous is very usefull for begginer like me
@MegaSwarn
@MegaSwarn 8 жыл бұрын
how to populate textbox value based on dropdown selection? I have created a stored procedure but not able to get the value in the textbox.
@khajaaleem5927
@khajaaleem5927 11 жыл бұрын
Hi sir, i am getting confused which series to learn first either c#,asp.net,ado.net or mvc,please reply me what to start with in order please reply soon.
@12345678958200
@12345678958200 5 жыл бұрын
C# asp.net ado.net mvc
@sushantsahay4576
@sushantsahay4576 4 жыл бұрын
great
@niteshsingh5236
@niteshsingh5236 7 жыл бұрын
Thank you so much
@hlams2
@hlams2 11 жыл бұрын
i have error when trying to start page it says that. Both DataSource and DataSourceID are defined on 'DropDownList1'. Remove one definition. how to solve it?
@ianmk4306
@ianmk4306 11 жыл бұрын
hi tech i want to find the DB that you use it in your tutorial can u support the link of the DB like continenttable and the other ones that use it in all your tutorials please
@bebek8989
@bebek8989 9 жыл бұрын
hi usama visit here for the code csharp-video-tutorials.blogspot.com/2012/11/cascading-dropdown-in-aspnet-part-22.html
@luigel
@luigel 9 жыл бұрын
kudvenkat sir do we need to have an ID for each column?
@AnalyticalJha
@AnalyticalJha 6 жыл бұрын
Hello Sir, These videos are very helpful. thanks a lot. Please let me know if Cascading dropdown is possible by using SqlDataReader Instead of SqlDataAdapter. If yes please help how can i do the same. thanks in advance.
@kavithasaphal
@kavithasaphal 7 жыл бұрын
thank u so much..
@prettycolddeath
@prettycolddeath 10 жыл бұрын
sir, firstly ur adorable. u really make me understand asp.net and i could fast upgrade myself to .net from asp classic. btw, i think u missed something in this session. when u select continent > country > city and select back any continent, u must disable selecting city and set SelectedIndex to 0. btw, i watched it again and noticed i missed it. u duplicate //ddlCities.SelectedIndex = 0; //ddlCities.Enabled = false; twice. as; if (selectedIndex == 0) and else. and im sure u know that u didnt need to do that like this=)
@afghanboy4022
@afghanboy4022 9 жыл бұрын
Hello sir ! first I am thankful of your videos in asp and also I have subscribed your channel and fan of you your video lectures. Sir I have a question in control of asp.net , dropdownlist control, and my question is this: Whenever if we have a dropdown of 100 elements it is not a good way to display them all coz it will generate a dropdown list with a not friendly view. I want display only 10 or 15 in drop down and rest all in scroll of the drop downlist and I really don’t know how to handle that I researched too many sites but still I am stuck and don’t know how to handle it. Plz sir show me a way to solve this issue or some referrals to solve this issue I have a final year project I am really needy of dropdownlist. Thans in advance! Mohammad Hanif from Afghanistan
@shalinisoni1088
@shalinisoni1088 4 жыл бұрын
According to this method we can store a values of records ....🤔in database ..what we do when we want to store text in database
@mehtarahul1419891
@mehtarahul1419891 11 жыл бұрын
could you tell how it can be done graphically..
@MunamYousuf
@MunamYousuf 8 жыл бұрын
Just a little confusion. in GetData method you didn't open or close the connection. Why is it so. Didn't we expect connection to be open before performing database operations.
@bumblebee2012able
@bumblebee2012able 8 жыл бұрын
+Munam Yousuf SqlDataAdapter doesn't need to open and close connection
@MrShahjaha
@MrShahjaha 12 жыл бұрын
hii sir, u uploaded a nice series, but there is some missing video. could u upload it again please. and could u upload video on LINQ Technique. thanks in advance.
@dhanashrigurav4980
@dhanashrigurav4980 6 жыл бұрын
Why error comes to da.fill (DS) -it says databse with the same name exist or specified file cannot be opened..plz help..i m new for asp.net
@alirezakaveh8430
@alirezakaveh8430 5 жыл бұрын
where is the con.open()? why you did not open connection in the defined method?
@sukhbawa1976
@sukhbawa1976 10 жыл бұрын
Sir, Your tutorial are very helpful. Please let me know is any DVD of tutorials are available in market.
@Csharp-video-tutorialsBlogspot
@Csharp-video-tutorialsBlogspot 10 жыл бұрын
Hi, yes we do provide DVD as well. For more details, please contact us on kudvenkat@gmail.com
@raphaelbernard7954
@raphaelbernard7954 7 жыл бұрын
Vankat How do we open this from IIS as tut 82-84? Is it possible? Thank you.
@kidsfan6464
@kidsfan6464 4 жыл бұрын
Sir am facing error declar variable value
@rajeshwar2261
@rajeshwar2261 11 жыл бұрын
Could u pls tell me How r getting intellisence in MySQL Server like Ms Visual Stdio
@shahbazjutt8353
@shahbazjutt8353 3 жыл бұрын
Sir One question
@gtrj55tgjr
@gtrj55tgjr 6 жыл бұрын
hello sir my question is why you use stored procedure because this also done without store procedure i have made this code where i have changed to "TRUE" the Autopostback of DropDownList2 only not DropDownList1 and its work great as like yours.. namespace Tutorial1 { public partial class DropDown : System.Web.UI.Page { public String myStateId; SqlConnection conn = new SqlConnection("Data Source=(LocalDB)\\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\\MyDatabase.mdf;Integrated Security=True"); protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SqlCommand comm = new SqlCommand("Select StateId,State from State", conn); conn.Open(); DropDownList2.DataSource=comm.ExecuteReader(); DropDownList2.DataTextField = "State"; DropDownList2.DataValueField = "State"; DropDownList2.DataBind(); } } protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { Response.Write(DropDownList1.Text); } protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { myStateId =DropDownList2.Text; SqlCommand comm = new SqlCommand("Select City,CityId from City where State='"+myStateId+"'", conn); conn.Open(); DropDownList1.DataSource = comm.ExecuteReader(); DropDownList1.DataTextField = "City"; DropDownList1.DataValueField = "CityId"; DropDownList1.DataBind(); } } }
@haiderali-fu8pe
@haiderali-fu8pe 10 жыл бұрын
I need sql ddl scripts for these tables? can you upload them?
@bebek8989
@bebek8989 9 жыл бұрын
haider ali visit csharp-video-tutorials.blogspot.com/2012/11/cascading-dropdown-in-aspnet-part-22.html for the code
@johnnydepp1499
@johnnydepp1499 8 жыл бұрын
+bbeek lapan Thanks dude. :)
@musashuaibu5198
@musashuaibu5198 2 жыл бұрын
C# cascading drop down list store only ids in the database
@tourwithamol
@tourwithamol 7 жыл бұрын
Dear Sir, Thanks so much for providing such a great efforts by you..I really appreciate your great work. I am getting following error , kindly suggest me the solution for the same.. Error description: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'test.CascadingDropownList'. Source Error: Line 1: Line 2: Line 3: Source File: /CascadingDropownList.aspx Line: 1
Asp.net checkboxlist control   Part 23
15:39
kudvenkat
Рет қаралды 147 М.
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Cascading Dropdownlist In Asp.Net MVC | Using Jquery Ajax
15:56
abctutorial
Рет қаралды 113 М.
List controls in asp.net   Part 29
17:47
kudvenkat
Рет қаралды 95 М.
Make Your Business Rules Cleaner With Fluent Validation
15:14
Milan Jovanović
Рет қаралды 31 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 904 М.
Стыдные вопросы про Китай / вДудь
3:07:50
вДудь
Рет қаралды 2,9 МЛН
Fileupload control in asp.net   Part 30
14:17
kudvenkat
Рет қаралды 210 М.
Cascading Dropdowns in .NET Core (.NET 8)
22:15
DotNetMastery
Рет қаралды 23 М.
Command Event of an asp.net button control Part 15
15:42
kudvenkat
Рет қаралды 199 М.