Click here to Skip to main content
15,919,341 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: grouping rows in gridview... Pin
Brij22-Apr-10 4:27
mentorBrij22-Apr-10 4:27 
Questiondropdownlist Pin
tek 200922-Apr-10 2:44
tek 200922-Apr-10 2:44 
AnswerRe: dropdownlist Pin
Sandesh M Patil22-Apr-10 3:10
Sandesh M Patil22-Apr-10 3:10 
QuestionRe: dropdownlist Pin
tek 200922-Apr-10 4:36
tek 200922-Apr-10 4:36 
AnswerRe: dropdownlist Pin
Swiftain22-Apr-10 5:08
Swiftain22-Apr-10 5:08 
AnswerRe: dropdownlist Pin
Sandeep Mewara22-Apr-10 5:10
mveSandeep Mewara22-Apr-10 5:10 
AnswerRe: dropdownlist Pin
Morgs Morgan22-Apr-10 22:16
Morgs Morgan22-Apr-10 22:16 
GeneralRe: dropdownlist Pin
tek 200923-Apr-10 0:42
tek 200923-Apr-10 0:42 
thank you for your reply, and if I want to show the result of choice in the dropdownlist in a html table creates at run time of this application
here is the code of creating a htmltable to display data from DB SQL by selecting a dropdownlist:
string chaineCnx = ConfigurationManager.ConnectionStrings["ConnectionString_operateur"].ToString();
HtmlTable tbTableName = new HtmlTable();
HtmlTableRow tbRow = null;
HtmlTableCell tbCelle = null;
tbTableName.ID = "TableName";
tbTableName.Border = 1;
tbTableName.CellSpacing = 1;
using (SqlConnection cnx = new SqlConnection(chaineCnx))
{
cnx.Open();
SqlCommand cmTable = new SqlCommand("select * from operateur, cnx);
SqlDataReader drTable = cmTable.ExecuteReader();
while (drTable.Read())
{
tbRow = new HtmlTableRow();
for (int i = 0; i < drTable.FieldCount; i++)
{
tbCelle = new HtmlTableCell();
tbCelle.Width = "80";
if (drTable[i] != DBNull.Value)
tbCelle.InnerText = drTable[i].ToString();

tbRow.Cells.Add(tbCelle);
}
tbTableName.Rows.Add(tbRow);
}
this.form1.Controls.Add(tbTableName);
}
QuestionText Box Event OnTextChange Pin
gautamamit822-Apr-10 2:35
gautamamit822-Apr-10 2:35 
AnswerRe: Text Box Event OnTextChange Pin
Morgs Morgan22-Apr-10 2:50
Morgs Morgan22-Apr-10 2:50 
GeneralRe: Text Box Event OnTextChange Pin
gautamamit822-Apr-10 3:36
gautamamit822-Apr-10 3:36 
GeneralRe: Text Box Event OnTextChange Pin
Brij22-Apr-10 4:04
mentorBrij22-Apr-10 4:04 
AnswerRe: Text Box Event OnTextChange Pin
Sandesh M Patil22-Apr-10 3:07
Sandesh M Patil22-Apr-10 3:07 
GeneralRe: Text Box Event OnTextChange Pin
gautamamit822-Apr-10 3:32
gautamamit822-Apr-10 3:32 
GeneralRe: Text Box Event OnTextChange Pin
Sandeep Mewara22-Apr-10 5:13
mveSandeep Mewara22-Apr-10 5:13 
AnswerRe: Text Box Event OnTextChange Pin
Swiftain22-Apr-10 5:23
Swiftain22-Apr-10 5:23 
QuestionExternal css (Firefox vs IE) Pin
Morgs Morgan22-Apr-10 2:04
Morgs Morgan22-Apr-10 2:04 
AnswerRe: External css (Firefox vs IE) Pin
WoutL22-Apr-10 2:21
WoutL22-Apr-10 2:21 
GeneralRe: External css (Firefox vs IE) Pin
Morgs Morgan22-Apr-10 2:43
Morgs Morgan22-Apr-10 2:43 
GeneralRe: External css (Firefox vs IE) Pin
WoutL22-Apr-10 2:50
WoutL22-Apr-10 2:50 
GeneralRe: External css (Firefox vs IE) Pin
Morgs Morgan22-Apr-10 2:59
Morgs Morgan22-Apr-10 2:59 
GeneralRe: External css (Firefox vs IE) Pin
Gregory Gadow22-Apr-10 3:29
Gregory Gadow22-Apr-10 3:29 
Questionget a value from Datalist and bring it on popupcontrol Panel Pin
gautamamit821-Apr-10 23:50
gautamamit821-Apr-10 23:50 
AnswerRe: get a value from Datalist and bring it on popupcontrol Panel Pin
Arindam Tewary22-Apr-10 1:58
professionalArindam Tewary22-Apr-10 1:58 
GeneralRe: get a value from Datalist and bring it on popupcontrol Panel Pin
gautamamit822-Apr-10 2:23
gautamamit822-Apr-10 2:23 

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.