Click here to Skip to main content
16,004,778 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDynamically administrate ASP.NET Pin
xax10-Jul-08 22:57
xax10-Jul-08 22:57 
QuestionLike gmail how to add and send multiple attachment files?, Pin
Member 387988110-Jul-08 22:54
Member 387988110-Jul-08 22:54 
AnswerRe: Like gmail how to add and send multiple attachment files?, Pin
Sam Xavier11-Jul-08 0:58
Sam Xavier11-Jul-08 0:58 
QuestionHttpContext.Current.Session is getting null Pin
ash0410-Jul-08 22:05
ash0410-Jul-08 22:05 
AnswerRe: HttpContext.Current.Session is getting null Pin
N a v a n e e t h10-Jul-08 22:13
N a v a n e e t h10-Jul-08 22:13 
GeneralRe: HttpContext.Current.Session is getting null Pin
ash0410-Jul-08 22:28
ash0410-Jul-08 22:28 
GeneralRe: HttpContext.Current.Session is getting null Pin
N a v a n e e t h10-Jul-08 22:42
N a v a n e e t h10-Jul-08 22:42 
GeneralRe: HttpContext.Current.Session is getting null Pin
ash0410-Jul-08 22:55
ash0410-Jul-08 22:55 
GeneralRe: HttpContext.Current.Session is getting null Pin
Sandeep Akhare11-Jul-08 0:02
Sandeep Akhare11-Jul-08 0:02 
GeneralRe: HttpContext.Current.Session is getting null Pin
ash0411-Jul-08 1:03
ash0411-Jul-08 1:03 
GeneralRe: HttpContext.Current.Session is getting null Pin
Sandeep Akhare11-Jul-08 1:19
Sandeep Akhare11-Jul-08 1:19 
QuestionJavascript error Pin
Agweet10-Jul-08 21:58
Agweet10-Jul-08 21:58 
AnswerRe: Javascript error Pin
ash0410-Jul-08 22:44
ash0410-Jul-08 22:44 
GeneralRe: Javascript error Pin
Agweet10-Jul-08 22:49
Agweet10-Jul-08 22:49 
GeneralRe: Javascript error Pin
ash0410-Jul-08 23:01
ash0410-Jul-08 23:01 
AnswerRe: Javascript error Pin
shames(Sam)11-Jul-08 2:20
shames(Sam)11-Jul-08 2:20 
QuestionDisplaying database values in a dropdownlist Pin
eyeseetee10-Jul-08 21:56
eyeseetee10-Jul-08 21:56 
AnswerRe: Displaying database values in a dropdownlist Pin
eyeseetee10-Jul-08 22:56
eyeseetee10-Jul-08 22:56 
OK ive got the following code:

foreach (GridViewRow row in GridView1.Rows)
{
dropdown = ((DropDownList)row.FindControl("ddorder"));
count++;
dropdown.DataValueField = count.ToString();
dropdown.DataTextField = count.ToString();
dropdown.Items.Add(dropdown.DataValueField);
for (int count2 = 1; count2 <= GridView1.Rows.Count; count2++)
{
dropdown.Items.Add(new ListItem(count2.ToString(), count2.ToString()));
}


}
but the probably is that I need to set the default value of the dropdownlist to a binded value from a database, how woudl I go about doing that?

thanks
QuestionPlaying a please wait flash!!! Pin
WebMaster10-Jul-08 21:31
WebMaster10-Jul-08 21:31 
AnswerRe: Playing a please wait flash!!! Pin
Sherin Iranimose10-Jul-08 21:49
Sherin Iranimose10-Jul-08 21:49 
AnswerRe: Playing a please wait flash!!! Pin
Sandeep Akhare10-Jul-08 21:52
Sandeep Akhare10-Jul-08 21:52 
GeneralRe: Playing a please wait flash!!! Pin
Ha ha ha ha ha ha ha ha12-Jul-08 0:26
Ha ha ha ha ha ha ha ha12-Jul-08 0:26 
Questionvideo compression Pin
nithydurai10-Jul-08 20:37
nithydurai10-Jul-08 20:37 
AnswerRe: video compression Pin
eyeseetee10-Jul-08 21:48
eyeseetee10-Jul-08 21:48 
GeneralRe: video compression Pin
nithydurai10-Jul-08 22:55
nithydurai10-Jul-08 22:55 

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.