Click here to Skip to main content
15,867,568 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to extract the category and subcategory dynamically in navigation bar in asp.net Pin
ZurdoDev6-Nov-14 1:26
professionalZurdoDev6-Nov-14 1:26 
Questionintegrating geocoding with geolocation Pin
Member 99545493-Nov-14 7:16
Member 99545493-Nov-14 7:16 
QuestionTwo Web APIs 2.2 with Identity 2.0 for one database Pin
Quarenta3-Nov-14 3:49
Quarenta3-Nov-14 3:49 
QuestionError: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at Pin
Harishankar Maurya2-Nov-14 21:30
Harishankar Maurya2-Nov-14 21:30 
QuestionRe: Error: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at Pin
ZurdoDev3-Nov-14 2:43
professionalZurdoDev3-Nov-14 2:43 
Questionhow to create a dependent drop down list i.e Country,State,City like that using asp.net Pin
Shivaram_i2-Nov-14 20:08
professionalShivaram_i2-Nov-14 20:08 
GeneralRe: how to create a dependent drop down list i.e Country,State,City like that using asp.net Pin
Kornfeld Eliyahu Peter2-Nov-14 21:04
professionalKornfeld Eliyahu Peter2-Nov-14 21:04 
AnswerRe: how to create a dependent drop down list i.e Country,State,City like that using asp.net Pin
jbhaskar2-Nov-14 23:04
jbhaskar2-Nov-14 23:04 
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindContrydropdown();
}
}
///
/// Bind COuntrydropdown
///

protected void BindContrydropdown()
{
//conenction path for database
using (SqlConnection con = new SqlConnection("Data Source=SureshDasari;Integrated Security=true;Initial Catalog=MySampleDB"))
{
con.Open();
SqlCommand cmd = new SqlCommand("Select UserId,UserName FROM UserInformation", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
ddlCountry.DataSource = ds;
ddlCountry.DataTextField = "UserName";
ddlCountry.DataValueField = "UserId";
ddlCountry.DataBind();
ddlCountry.Items.Insert(0, new ListItem("--Select--", "0"));
con.Close();
}
}
QuestionReturning the date and 'Page_Load' question Pin
Member 87616672-Nov-14 11:30
Member 87616672-Nov-14 11:30 
QuestionOpen Source Reporting Tools in .Net Pin
meeram3931-Oct-14 23:19
professionalmeeram3931-Oct-14 23:19 
AnswerRe: Open Source Reporting Tools in .Net Pin
Peter Leow31-Oct-14 23:35
professionalPeter Leow31-Oct-14 23:35 
GeneralRe: Open Source Reporting Tools in .Net Pin
meeram395-Nov-14 21:11
professionalmeeram395-Nov-14 21:11 
Questionhow to redirect pages in asp.net usint c# Pin
manvapradhan30-Oct-14 23:42
professionalmanvapradhan30-Oct-14 23:42 
AnswerRe: how to redirect pages in asp.net usint c# Pin
member1000031-Oct-14 23:23
member1000031-Oct-14 23:23 
GeneralRe: how to redirect pages in asp.net usint c# Pin
keyboard warrior4-Nov-14 5:21
keyboard warrior4-Nov-14 5:21 
AnswerRe: how to redirect pages in asp.net usint c# Pin
shaluIT8-Nov-14 14:29
shaluIT8-Nov-14 14:29 
QuestionSmall ordinals? Pin
Member 876166730-Oct-14 11:18
Member 876166730-Oct-14 11:18 
AnswerRe: Small ordinals? Pin
jkirkerx30-Oct-14 12:00
professionaljkirkerx30-Oct-14 12:00 
GeneralRe: Small ordinals? Pin
Member 876166730-Oct-14 12:18
Member 876166730-Oct-14 12:18 
AnswerRe: Small ordinals? Pin
jkirkerx30-Oct-14 12:32
professionaljkirkerx30-Oct-14 12:32 
GeneralRe: Small ordinals? Pin
Rajesh waran30-Oct-14 20:25
professionalRajesh waran30-Oct-14 20:25 
AnswerRe: Small ordinals? Pin
Richard Deeming30-Oct-14 12:44
mveRichard Deeming30-Oct-14 12:44 
GeneralRe: Small ordinals? Pin
Member 876166730-Oct-14 12:51
Member 876166730-Oct-14 12:51 
QuestionAsp.net Postback Pin
Zeyad Jalil30-Oct-14 1:02
professionalZeyad Jalil30-Oct-14 1:02 
AnswerRe: Asp.net Postback Pin
Peter Leow30-Oct-14 1:12
professionalPeter Leow30-Oct-14 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.