Click here to Skip to main content
15,898,374 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Difference betwen single tier and N tier application. Pin
asithangae7-Nov-07 21:34
asithangae7-Nov-07 21:34 
QuestionChanging The location tags attribute Pin
SreejithAchutan7-Nov-07 19:22
SreejithAchutan7-Nov-07 19:22 
QuestionDropDown Problem Pin
sabby20067-Nov-07 19:07
sabby20067-Nov-07 19:07 
QuestionDrop Down List Selected Value Problem Pin
Kurian_Kurian7-Nov-07 18:45
Kurian_Kurian7-Nov-07 18:45 
AnswerRe: Drop Down List Selected Value Problem Pin
Unknown Ajanabi7-Nov-07 19:21
Unknown Ajanabi7-Nov-07 19:21 
GeneralRe: Drop Down List Selected Value Problem Pin
Kurian_Kurian7-Nov-07 19:54
Kurian_Kurian7-Nov-07 19:54 
GeneralRe: Drop Down List Selected Value Problem Pin
Nitin19817-Nov-07 20:12
Nitin19817-Nov-07 20:12 
AnswerRe: Drop Down List Selected Value Problem Pin
Unknown Ajanabi7-Nov-07 20:12
Unknown Ajanabi7-Nov-07 20:12 
u can try
this

protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
bindYear();
}


}

private void bindYear()
{
DataTable YearTable = new DataTable();

DataColumn YearColumn;

YearColumn = new DataColumn();
YearColumn.DataType = Type.GetType("System.String");
YearColumn.ColumnName = "dobYear";
YearTable.Columns.Add(YearColumn);

YearTable.Rows.Add("YYYY");
for (int i = 1940; i <= DateTime.Now.Year; i++)
{
YearTable.Rows.Add(i);
}

if (YearTable.Rows.Count > 0)
{
cboYY.DataSource = YearTable;
cboYY.DataTextField = "dobYear";
cboYY.DataBind();
}
YearTable.Dispose();
}

protected void btn_Click(object sender, EventArgs e)
{
string a = Convert.ToString(cboYY.SelectedIndex);
string b = cboYY.SelectedValue;
msg.Text = a + b;
}

no knowledge in .net

AnswerRe: Drop Down List Selected Value Problem Pin
N a v a n e e t h7-Nov-07 21:52
N a v a n e e t h7-Nov-07 21:52 
QuestionFile System Browsing in ASP.NET - Need Code Help Pin
cadracing7-Nov-07 17:56
cadracing7-Nov-07 17:56 
AnswerRe: File System Browsing in ASP.NET - Need Code Help Pin
Christian Graus7-Nov-07 19:21
protectorChristian Graus7-Nov-07 19:21 
QuestionData Blues Pin
BezerkRogue7-Nov-07 15:56
BezerkRogue7-Nov-07 15:56 
AnswerRe: Data Blues Pin
Christian Graus7-Nov-07 17:42
protectorChristian Graus7-Nov-07 17:42 
Questionoracle conncetion error Pin
uowzd017-Nov-07 15:03
uowzd017-Nov-07 15:03 
QuestionRepeater within update panel - slow Pin
debbie_cruz7-Nov-07 13:37
debbie_cruz7-Nov-07 13:37 
QuestionASP .NET 2.0 Login Control Pin
kenexcelon7-Nov-07 10:39
kenexcelon7-Nov-07 10:39 
AnswerRe: ASP .NET 2.0 Login Control Pin
Pete O'Hanlon7-Nov-07 11:39
mvePete O'Hanlon7-Nov-07 11:39 
GeneralRe: ASP .NET 2.0 Login Control Pin
kenexcelon8-Nov-07 9:04
kenexcelon8-Nov-07 9:04 
GeneralRe: ASP .NET 2.0 Login Control Pin
Pete O'Hanlon8-Nov-07 9:28
mvePete O'Hanlon8-Nov-07 9:28 
QuestionLoading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 8:41
Frankidoze7-Nov-07 8:41 
AnswerRe: Loading image at run time in a custom control used in a page. How to code this? Pin
pmarfleet7-Nov-07 9:44
pmarfleet7-Nov-07 9:44 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 10:00
Frankidoze7-Nov-07 10:00 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
pmarfleet7-Nov-07 10:11
pmarfleet7-Nov-07 10:11 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
Frankidoze7-Nov-07 10:55
Frankidoze7-Nov-07 10:55 
GeneralRe: Loading image at run time in a custom control used in a page. How to code this? Pin
ahmet.ureten8-Nov-07 10:11
ahmet.ureten8-Nov-07 10:11 

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.