Click here to Skip to main content
15,887,477 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: updated grid from sql server Pin
stassaf4-May-10 1:40
stassaf4-May-10 1:40 
GeneralRe: updated grid from sql server [modified] Pin
PunkIsNotDead4-May-10 18:31
PunkIsNotDead4-May-10 18:31 
Questionhtml controle Pin
tek 200928-Apr-10 7:27
tek 200928-Apr-10 7:27 
AnswerRe: html controle Pin
Not Active28-Apr-10 7:46
mentorNot Active28-Apr-10 7:46 
AnswerRe: html controle Pin
Sandeep Mewara28-Apr-10 19:17
mveSandeep Mewara28-Apr-10 19:17 
GeneralRe: html controle Pin
PunkIsNotDead28-Apr-10 19:51
PunkIsNotDead28-Apr-10 19:51 
GeneralRe: html controle Pin
tek 200928-Apr-10 23:52
tek 200928-Apr-10 23:52 
GeneralRe: html controle Pin
PunkIsNotDead29-Apr-10 16:54
PunkIsNotDead29-Apr-10 16:54 
I fill it with a DataTable like this...
C#
DataTable Dt = new DataTable("Dt_Source");
Dt.Columns.Add("Id", System.Type.GetType("System.Int32"));
Dt.Columns.Add("Name", System.Type.GetType("System.String"));
Dt.Rows.Add(1, "Text1");
Dt.Rows.Add(2, "Text2");
Dt.Rows.Add(3, "Text3");
Dt.Rows.Add(4, "Text4");
Select1.DataSource = Dt;
Select1.DataTextField = "Name";
Select1.DataValueField = "Id";
Select1.DataBind();

good luck! Thumbs Up | :thumbsup: Wink | ;) Wink | ;)
QuestionWebservice to import data Pin
Priya Prk28-Apr-10 5:05
Priya Prk28-Apr-10 5:05 
AnswerRe: Webservice to import data Pin
T M Gray28-Apr-10 6:37
T M Gray28-Apr-10 6:37 
GeneralRe: Webservice to import data Pin
Priya Prk28-Apr-10 21:05
Priya Prk28-Apr-10 21:05 
QuestionHow to Exprot Vertical Orientated Text Header to Excel Pin
Andraw11128-Apr-10 4:56
Andraw11128-Apr-10 4:56 
QuestionHow to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 3:44
Andraw11128-Apr-10 3:44 
AnswerRe: How to remove the sort link after export gridview to excel Pin
Andraw11128-Apr-10 4:14
Andraw11128-Apr-10 4:14 
QuestionDropdownlist control problem Pin
cheguri28-Apr-10 1:56
cheguri28-Apr-10 1:56 
AnswerRe: Dropdownlist control problem Pin
daveyerwin28-Apr-10 2:04
daveyerwin28-Apr-10 2:04 
AnswerRe: Dropdownlist control problem Pin
Ankur\m/28-Apr-10 2:05
professionalAnkur\m/28-Apr-10 2:05 
AnswerRe: Dropdownlist control problem Pin
Sandesh M Patil28-Apr-10 3:16
Sandesh M Patil28-Apr-10 3:16 
GeneralRe: Dropdownlist control problem Pin
PunkIsNotDead28-Apr-10 20:05
PunkIsNotDead28-Apr-10 20:05 
QuestionEmpting a datagrid before adding new items Pin
Morgs Morgan28-Apr-10 1:35
Morgs Morgan28-Apr-10 1:35 
AnswerRe: Empting a datagrid before adding new items Pin
Arun Jacob28-Apr-10 1:58
Arun Jacob28-Apr-10 1:58 
AnswerRe: Empting a datagrid before adding new items Pin
daveyerwin28-Apr-10 2:07
daveyerwin28-Apr-10 2:07 
AnswerRe: Empting a datagrid before adding new items Pin
GauravKP28-Apr-10 9:59
professionalGauravKP28-Apr-10 9:59 
QuestionUpdate Panel is not working in Google Chrome and Safari Pin
RajeshKalisetti28-Apr-10 0:37
RajeshKalisetti28-Apr-10 0:37 
QuestionCrystal Report Field Length Problem Pin
rhtbhegade28-Apr-10 0:36
rhtbhegade28-Apr-10 0:36 

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.