tag:blogger.com,1999:blog-3826986716234513713.post3088101282514234392..comments2024-01-20T11:51:35.299+05:30Comments on Csharp Asp.Net Articles C# VB Tutorials Code Examples Samples: Populate Cascading DropDownList On Selection ASP.NETAnonymoushttp://www.blogger.com/profile/10629107305544485629noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-3826986716234513713.post-5211136236683922302014-04-21T08:16:56.437+05:302014-04-21T08:16:56.437+05:30Hi Amit, Thank you for your code, I haven't ru...Hi Amit, Thank you for your code, I haven't run it yet, but i think this would refresh the page at every selection on the Dropdown list, right?Anonymoushttps://www.blogger.com/profile/06192190199149679786noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-13008176580024347602014-02-13T16:06:08.083+05:302014-02-13T16:06:08.083+05:30same task i want in gridviewsame task i want in gridviewAnonymoushttps://www.blogger.com/profile/06240422893301757902noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-61701329947648427542014-01-27T22:40:27.659+05:302014-01-27T22:40:27.659+05:30thank u sir...ur grt.thank u sir...ur grt.Yii2 Frameworkhttps://www.blogger.com/profile/16485143482772615164noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-66926952240198945952014-01-27T22:38:21.474+05:302014-01-27T22:38:21.474+05:30Thank You so Much sir....this is very helpful for ...Thank You so Much sir....this is very helpful for me.Yii2 Frameworkhttps://www.blogger.com/profile/16485143482772615164noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-33751905531661322172013-12-18T21:49:00.982+05:302013-12-18T21:49:00.982+05:30I am trying to use the VB.NET code to populate Sta...I am trying to use the VB.NET code to populate State, County and City. I have the connection string pointing to a SQL Database. If I change the connection string, DDL names, and Protected Voids/Private Voids, in your C# it works. However, in VB when I view it on the web the drop downs do not populate. They are blank and very small. <br /><br />I can post code if need be. Thanks so much!Anonymoushttps://www.blogger.com/profile/04290090541482393277noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-24452201548050772242012-08-15T20:08:44.545+05:302012-08-15T20:08:44.545+05:30Helped out so much!Helped out so much!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-13769581603951051892012-08-11T18:06:48.221+05:302012-08-11T18:06:48.221+05:30@vatsal: please refer Ajax cascading dropdownlist ...@vatsal: please refer <a href="http://csharpdotnetfreak.blogspot.com/2009/02/ajax-cascading-dropdownlist-database.html" rel="nofollow">Ajax cascading dropdownlist in gridview</a>Anonymoushttps://www.blogger.com/profile/10629107305544485629noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-1800983830985824762012-08-10T21:06:18.079+05:302012-08-10T21:06:18.079+05:30hi it is really working and its help in my project...hi it is really working and its help in my project how to i stored in database???plz give me code thatvatsalhttps://www.blogger.com/profile/17934916822368087858noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-14802450375426743262012-07-06T17:37:43.415+05:302012-07-06T17:37:43.415+05:30thnx... it was really useful...thnx... it was really useful...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-57342536270492689832012-06-23T05:00:22.172+05:302012-06-23T05:00:22.172+05:30I haven't tried your code yet 'cause I'...I haven't tried your code yet 'cause I've been looking for a solution to this problem for quite a long time now and I'm really tired (2:27 AM). However, I must say that I think it's the right way to do this just by scrolling through it (seems to solve the general ddl -> ddl2 problem covering selections from the database, not just particular cases). Thanks in advance for Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-11569070391302955972012-04-11T09:02:57.461+05:302012-04-11T09:02:57.461+05:30I havent ran it yet for myself, but thank you sooo...I havent ran it yet for myself, but thank you soooo much....I have been screaching the web for weeks trying to figure out how to get my dropdownlist controls to work...I am really gratful for you taking the time out and helping...again thank you so much<br />-CrystalAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-88569101481777886692012-02-17T11:55:03.049+05:302012-02-17T11:55:03.049+05:30@Above : Change your code as mentioned below
str...@Above : Change your code as mentioned below <br /><br /><b>string CountryID = ddlCountry.SelectedValue.ToString();</b><br /><br />and change methods FillStates, and FillCities as follows <br /><br /><b>private void FillStates(string countryID)</b>Anonymoushttps://www.blogger.com/profile/10629107305544485629noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-76698509487118626102012-02-16T12:23:55.574+05:302012-02-16T12:23:55.574+05:30i have an error saying that
"Input string wa...i have an error saying that <br />"Input string was not in a correct format."<br /><br />i have change the datatype of my countryID and other ID's in my database from int to varchar..<br /><br />i think this line affects it..<br />int CountryID = Convert.ToInt32(ddlCountry.SelectedValue.ToString());<br /><br />what should be the alternative code if im using varchar as datatype not Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-51117432722137067822012-02-13T16:14:30.308+05:302012-02-13T16:14:30.308+05:30superb and thanks really.i need this in my project...superb and thanks really.i need this in my project.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-42485147630925257782012-02-05T15:47:08.816+05:302012-02-05T15:47:08.816+05:30Database is included in sample code<b>Database is included in sample code</b>Anonymoushttps://www.blogger.com/profile/10629107305544485629noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-72376648394174051162012-02-05T10:02:45.256+05:302012-02-05T10:02:45.256+05:30Where do you get the Database ...?Where do you get the Database ...?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-51502074991273192512012-02-02T14:43:10.367+05:302012-02-02T14:43:10.367+05:30@Above: I have attached source code in the post, d...<b>@Above: I have attached source code in the post, download and run it, let me know if you still have any errors ? </b>Anonymoushttps://www.blogger.com/profile/10629107305544485629noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-79526577417940873292012-02-02T12:51:43.335+05:302012-02-02T12:51:43.335+05:30u r tutorial is really good
i m using this same i...u r tutorial is really good<br /><br />i m using this same in my project but in that i m finding some problem like<br /><br />when 1st time i select country all ddl work in proper way,but if i select Country ddl again to change other country than at that time state ddl is showing -select state- twice and same is case with city ddlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-698426929475402232012-01-02T16:43:58.747+05:302012-01-02T16:43:58.747+05:30finally got a complete code..........thank u so mu...finally got a complete code..........thank u so much.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-82448654148637904592011-10-27T15:21:37.611+05:302011-10-27T15:21:37.611+05:30Hi, just want to ask how can i handle the exceptio...Hi, just want to ask how can i handle the exception of "Input string was not in a correct format." when i go back and select the --Select-- or the value 0??? please advise.Michealnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-81114929100007963572011-07-01T21:57:37.265+05:302011-07-01T21:57:37.265+05:30This is a nice example. I wonder if an user wants ...This is a nice example. I wonder if an user wants to update the row n the gridview, what should do? Is it possible for you to explain or show the code? ThanksCatshttps://www.blogger.com/profile/09344371103293890541noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-88269590695430841892011-04-23T08:35:10.791+05:302011-04-23T08:35:10.791+05:30nice article.
god bless you.
Juan Alberto Patal...nice article. <br /><br />god bless you.<br /><br />Juan Alberto PatalAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-65077939739655971892011-01-08T17:29:53.414+05:302011-01-08T17:29:53.414+05:30venky
thank u soooooooooooooooooooooooooooooooooo...venky<br /><br />thank u sooooooooooooooooooooooooooooooooooo<br />muuuuuuuuuuuuuuuuucccccccccccccchhhhhhhhhhhhhhhhhhhvenkyhttps://www.blogger.com/profile/05142112070290481443noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-20405730997431850932010-12-17T15:19:03.928+05:302010-12-17T15:19:03.928+05:30Thankyou soooooooooooo much...
From Tanisha Sayya...Thankyou soooooooooooo much...<br /><br />From Tanisha SayyadDevelopers Codehttps://www.blogger.com/profile/14471324803108602499noreply@blogger.comtag:blogger.com,1999:blog-3826986716234513713.post-34049171115451350852010-12-17T15:03:43.436+05:302010-12-17T15:03:43.436+05:30thankyou very much.......thankyou very much.......Developers Codehttps://www.blogger.com/profile/14471324803108602499noreply@blogger.com