Click here to Skip to main content
15,916,180 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Emailing html page Pin
Gamzun10-Nov-09 0:12
Gamzun10-Nov-09 0:12 
GeneralRe: Emailing html page Pin
Ersan Ercek10-Nov-09 0:30
Ersan Ercek10-Nov-09 0:30 
QuestionLoop many records from database to many table Pin
LTMKH9-Nov-09 23:50
LTMKH9-Nov-09 23:50 
AnswerRe: Loop many records from database to many table Pin
Gamzun10-Nov-09 0:06
Gamzun10-Nov-09 0:06 
GeneralRe: Loop many records from database to many table Pin
LTMKH10-Nov-09 0:21
LTMKH10-Nov-09 0:21 
GeneralRe: Loop many records from database to many table Pin
Gamzun10-Nov-09 1:58
Gamzun10-Nov-09 1:58 
GeneralRe: Loop many records from database to many table Pin
LTMKH10-Nov-09 20:52
LTMKH10-Nov-09 20:52 
AnswerRe: Loop many records from database to many table Pin
Shameel10-Nov-09 2:44
professionalShameel10-Nov-09 2:44 
GeneralRe: Loop many records from database to many table Pin
LTMKH10-Nov-09 14:43
LTMKH10-Nov-09 14:43 
GeneralRe: Loop many records from database to many table Pin
Gamzun11-Nov-09 7:30
Gamzun11-Nov-09 7:30 
QuestionPass a stream as a function parameter Pin
Nagarajan.C9-Nov-09 23:47
Nagarajan.C9-Nov-09 23:47 
AnswerRe: Pass a stream as a function parameter Pin
Shameel10-Nov-09 2:45
professionalShameel10-Nov-09 2:45 
QuestionHow we attached Multiple file for send mail. Pin
lrsalunkhe9-Nov-09 22:57
lrsalunkhe9-Nov-09 22:57 
AnswerRe: How we attached Multiple file for send mail. Pin
Gamzun9-Nov-09 23:21
Gamzun9-Nov-09 23:21 
Questionstreaming video files Pin
yrishi9-Nov-09 22:38
yrishi9-Nov-09 22:38 
Questiondatatable Pin
mylogics9-Nov-09 22:37
professionalmylogics9-Nov-09 22:37 
AnswerRe: datatable Pin
padmanabhan N9-Nov-09 22:46
padmanabhan N9-Nov-09 22:46 
Questionadd columns in gridview at runtime Pin
anilaabc9-Nov-09 21:01
anilaabc9-Nov-09 21:01 
AnswerRe: add columns in gridview at runtime Pin
Christian Graus9-Nov-09 21:10
protectorChristian Graus9-Nov-09 21:10 
GeneralRe: add columns in gridview at runtime Pin
anilaabc9-Nov-09 21:17
anilaabc9-Nov-09 21:17 
if i do like
if(!ispostback)
{
gridview.datasource=datasource;
}
all the columns disappear,I have to reload/bind with datasource at postback.
I m adding columns in grid like this
private void AddColumns()
{
TemplateField bfield = new TemplateField();



try
{
HeaderText = GetGlobalResourceObject("ViewQuotations", col.ColumnName).ToString(); //Assigns the name of the column in the lable.
}
catch (Exception e)
{
HeaderText = col.ColumnName;
}
//Initalize the DataField value.
bfield.HeaderTemplate = new GridViewTemplate(ListItemType.Header, col.ColumnName, HeaderText);



//Initialize the HeaderText field value.

bfield.ItemTemplate = new GridViewTemplate(ListItemType.Item, col.ColumnName);

//Add the newly created bound field to the GridView.

grdViewEqpCard.Columns.Add(bfield);
}
AnswerRe: add columns in gridview at runtime Pin
Gamzun9-Nov-09 22:36
Gamzun9-Nov-09 22:36 
GeneralRe: add columns in gridview at runtime Pin
anilaabc9-Nov-09 23:24
anilaabc9-Nov-09 23:24 
GeneralRe: add columns in gridview at runtime Pin
Gamzun9-Nov-09 23:55
Gamzun9-Nov-09 23:55 
GeneralRe: add columns in gridview at runtime Pin
anilaabc9-Nov-09 23:59
anilaabc9-Nov-09 23:59 
GeneralRe: add columns in gridview at runtime Pin
anilaabc10-Nov-09 0:46
anilaabc10-Nov-09 0:46 

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.