15,894,017 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 11478531 (Top 14 by date)
Member 11478531
25-Mar-15 8:08am
View
FillCountry () can be used in page_Load but you need to not is postback Check has to be done ..
your States Table Should have 3 columns ..
StateID States CountryID
Member 11478531
25-Mar-15 8:05am
View
THANK YOU FOR YOUR PRECIOUS TIME ERROR SOLVED.
Member 11478531
25-Mar-15 7:09am
View
????
Member 11478531
25-Mar-15 2:34am
View
can you please now check and let me know
Member 11478531
25-Mar-15 2:32am
View
Thanks for the reply but i have improved my Question
Member 11478531
25-Mar-15 2:25am
View
@Rohan Leuva , @Suvendu Shekhar Giri please once go through my comment and let me know what mistake i am doing
Member 11478531
25-Mar-15 2:23am
View
i am building a web application of data insert into database using asp.net C# so there i have two dropdown list and when i select item from first dropdown proper selection and insertion happens but as i select from second drop down which is populated according to first drop down ( Cascading DropDown ) on postback second dropdown selects first item instead of selected this is my actual problem.
Member 11478531
25-Mar-15 1:22am
View
Please Reply waiting for you valuable reply.
Member 11478531
23-Mar-15 1:54am
View
Actually the thing is i fill my form and select Country from country dropdown it works smoothly but as i select select country accordingly state dropdown is populated and as i select state and click on submit button .. Country selected item is stored as per selection but state dropdown always selects first item in the list.
Member 11478531
22-Mar-15 4:32am
View
hi , i am feeling the country and state dropdown from database created two methods and calling country dropdown in pageLoad Event with !ispostback method and basis on Country State dropdown is generated.
Member 11478531
20-Mar-15 8:00am
View
if (RadioButton1.Checked)
{
Gender = "Male";
}
else if (RadioButton2.Checked)
{
Gender = "Female";
}
cn.Open();
cmd.Connection=cn;
cmd.CommandText = "Insert into perinfo Values ('" + FirstName.Text + "','" + SecondName.Text + "','" + ThirdName.Text + "','" + Password.Text + "','" + Repassword.Text + "','" + MobileNo.Text + "','" + DOB.Text + "','" + Gender + "');" +
"Insert into Proinfo Values ('" + CompanyName.Text + "','" + Designation.Text + "','" + ComAdd1.Text + "','" + ComAdd2.Text + "','" + Country.SelectedItem + "','" + State.SelectedItem + "','" + City.Text + "')";
cmd.ExecuteNonQuery();
cn.Close();
cmd.Dispose();
Label16.Text = " Registration Successful";
FirstName.Text="";SecondName.Text="";ThirdName.Text="";Password.Text="";
Repassword.Text="";MobileNo.Text="";DOB.Text="";CompanyName.Text="";
Designation.Text="";ComAdd1.Text="";ComAdd2.Text="";City.Text="";
FirstName.Focus();
Member 11478531
28-Feb-15 6:19am
View
Awesome .. thanks i was facing the same problem
Member 11478531
25-Feb-15 6:15am
View
Perfect Thank you Sir ....
Member 11478531
25-Feb-15 5:49am
View
sir can you please give me solution for C#.net i.e a windows form not asp.net
Show More