Click here to Skip to main content
15,921,577 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 19:32
professionalAbhijit Jana12-Mar-09 19:32 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Deepml12-Mar-09 19:45
Deepml12-Mar-09 19:45 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 20:24
professionalAbhijit Jana12-Mar-09 20:24 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Deepml12-Mar-09 20:37
Deepml12-Mar-09 20:37 
GeneralRe: How to apply stylesheet class in EMail HTML format Pin
Abhijit Jana12-Mar-09 20:39
professionalAbhijit Jana12-Mar-09 20:39 
QuestionDataGrid to Excel Pin
rakeshs31212-Mar-09 18:34
rakeshs31212-Mar-09 18:34 
AnswerRe: DataGrid to Excel Pin
kumar_k50812-Mar-09 20:15
kumar_k50812-Mar-09 20:15 
GeneralRe: DataGrid to Excel Pin
rakeshs31212-Mar-09 21:43
rakeshs31212-Mar-09 21:43 
Hai,

I am using c# ,and no idea about vb. If some other code or idea is there, pls share.In my code the foreach loop is searching for the whole recods.What should i change there?
foreach (DataRow drow in datatable.Rows)
				{
					for (j = 0; j < datatable.Columns.Count; j++)
					{
						
						//if(Headers.Length > k)
						//if(drow[j].ToString() != "" && drow[j].ToString().Length<255)
						if(Headers.Length > k)
						{
							if(datatable.Columns[j].ColumnName == Headers[k].ToString())
							{
								if(drow[j].ToString() != "" )//&& drow[j].ToString().Length<255)
								{
									strRow += drow[j].ToString() + "','";
									
								}
								else
								{
									//							if(datatable.Columns[j].DataType.FullName == "System.String" || datatable.Columns[j].DataType.FullName == "System.DateTime")
									strRow +="-'"+",'";
									//							else
									//								strRow +="0"+",";

								}
								k++;
							}
							//k++;
						}
					}

Thanksss
AnswerRe: DataGrid to Excel [modified] Pin
kumar_k50812-Mar-09 23:02
kumar_k50812-Mar-09 23:02 
Questionproblem with xsd serialization Pin
prasadbuddhika12-Mar-09 18:19
prasadbuddhika12-Mar-09 18:19 
AnswerRe: problem with xsd serialization Pin
Expert Coming12-Mar-09 18:28
Expert Coming12-Mar-09 18:28 
GeneralRe: problem with xsd serialization Pin
prasadbuddhika12-Mar-09 18:38
prasadbuddhika12-Mar-09 18:38 
GeneralRe: problem with xsd serialization Pin
Expert Coming12-Mar-09 18:41
Expert Coming12-Mar-09 18:41 
GeneralRe: problem with xsd serialization Pin
prasadbuddhika12-Mar-09 19:05
prasadbuddhika12-Mar-09 19:05 
QuestionNo takers on Accordion problem??? Pin
Clay Aldebol12-Mar-09 14:49
Clay Aldebol12-Mar-09 14:49 
AnswerRe: No takers on Accordion problem??? Pin
Expert Coming12-Mar-09 18:26
Expert Coming12-Mar-09 18:26 
GeneralRe: No takers on Accordion problem??? Pin
Clay Aldebol13-Mar-09 3:18
Clay Aldebol13-Mar-09 3:18 
AnswerRe: No takers on Accordion problem??? Pin
Clay Aldebol16-Mar-09 8:24
Clay Aldebol16-Mar-09 8:24 
AnswerRe: No takers on Accordion problem??? Pin
Clay Aldebol16-Mar-09 9:14
Clay Aldebol16-Mar-09 9:14 
QuestionFileUpload Pin
Illegal Operation12-Mar-09 14:04
Illegal Operation12-Mar-09 14:04 
AnswerRe: FileUpload Pin
Christian Graus12-Mar-09 15:01
protectorChristian Graus12-Mar-09 15:01 
AnswerRe: FileUpload Pin
Yusuf12-Mar-09 16:50
Yusuf12-Mar-09 16:50 
QuestionDisable a button a web form. Pin
AndieDu12-Mar-09 13:39
AndieDu12-Mar-09 13:39 
AnswerRe: Disable a button a web form. Pin
johnsontroye12-Mar-09 13:43
johnsontroye12-Mar-09 13:43 
AnswerRe: Disable a button a web form. Pin
kumar_k50812-Mar-09 19:51
kumar_k50812-Mar-09 19:51 

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.