I would like to send emails to the clients in accordance with their choice (shopping), I would like it to be formatted, so I thought of HTML body however, it seems difficult to convert gridview datasource to HTML, Is there any easy way to reach the HTML source of a page and assign it to an HTML Text.
hello..I create project online exam with database sql server ...
For multiple question there are many answers for each one questions.
Example: question A have 5 answer
question B have 18 answer
I want to loop answers of question of A(id=1) to textBox: Ans1,Ans2,Ans3,...Ans10 according to number of answers..
thanks for reply...
I don't need this TSQL.. but i want to apply this data that have selected to TextFields in webform...
I have 10 textfield of answer for the maximum 10 answers ,but the answer of question that we sellect could be 2,3,4,5,8...
I want to put streaming video files(.wmv) on my server and want to access them from client computers. Also don't know how to access these videos from my web application.
Please help me on this
thanks in advance
if i do like
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();
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.