Click here to Skip to main content
15,888,286 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to start test as a novice? Pin
yolanda040910-Feb-09 23:06
yolanda040910-Feb-09 23:06 
RantRe: How to start test as a novice? Pin
Ashfield11-Feb-09 1:27
Ashfield11-Feb-09 1:27 
QuestionHow to get the duration of video file in asp.net Pin
LakshmiShetty10-Feb-09 22:09
LakshmiShetty10-Feb-09 22:09 
AnswerRe: How to get the duration of video file in asp.net Pin
Ranjit Viswakumar11-Feb-09 17:21
Ranjit Viswakumar11-Feb-09 17:21 
QuestionDataGrid OnDeleteCommand tigger Twice ! Pin
HatakeKaKaShi10-Feb-09 21:47
HatakeKaKaShi10-Feb-09 21:47 
QuestionHow to Destory Specific session??? Pin
mr_muskurahat10-Feb-09 21:20
mr_muskurahat10-Feb-09 21:20 
AnswerRe: How to Destory Specific session??? Pin
Abhijit Jana10-Feb-09 21:38
professionalAbhijit Jana10-Feb-09 21:38 
QuestionHow to import a value which starts from 0 to a XL sheet Pin
raghvendrapanda10-Feb-09 21:18
raghvendrapanda10-Feb-09 21:18 
I want to import the data of a grid view to XL sheet...I used the folllowing code
GridView1.AllowPaging = False
Call btndisplay_Click(sender, e)
Response.Clear()
Response.AddHeader("content-disposition", "attachment;filename=FileName.xls")
Response.Charset = ""
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.ContentType = "application/vnd.xls"
Dim stringWrite As New System.IO.StringWriter()
Dim htmlWrite As System.Web.UI.HtmlTextWriter = New HtmlTextWriter(stringWrite)
Me.GridView1.RenderControl(htmlWrite)
Response.Write(stringWrite.ToString())
Response.End()
GridView1.AllowPaging = True
Call btndisplay_Click(sender, e)
The code works but when i have 0 in the begning (like 00ABCD),it dosent take the 0 and tkes ABCD only..
How can i format the column to text (in code behind) so that it would accept zero in the begning



Regards
Question[Message Deleted] Pin
anujbanka178410-Feb-09 21:05
anujbanka178410-Feb-09 21:05 
AnswerRe: login..... Pin
N a v a n e e t h10-Feb-09 22:21
N a v a n e e t h10-Feb-09 22:21 
General[Message Deleted] Pin
anujbanka178410-Feb-09 22:29
anujbanka178410-Feb-09 22:29 
GeneralRe: login..... Pin
J4amieC10-Feb-09 22:41
J4amieC10-Feb-09 22:41 
GeneralRe: login..... Pin
anujbanka178410-Feb-09 23:13
anujbanka178410-Feb-09 23:13 
GeneralRe: login..... Pin
Shyam Bharath11-Feb-09 0:05
Shyam Bharath11-Feb-09 0:05 
QuestionError In Opening Files From DataGrid. Pin
aashish.saalvi10-Feb-09 21:00
aashish.saalvi10-Feb-09 21:00 
QuestionGenerate Spam keywords Pin
Guvera10-Feb-09 20:00
Guvera10-Feb-09 20:00 
AnswerRe: Generate Spam keywords Pin
Abhijit Jana10-Feb-09 20:12
professionalAbhijit Jana10-Feb-09 20:12 
QuestionWhat is BizTalkServer Pin
Glossy10-Feb-09 19:51
Glossy10-Feb-09 19:51 
AnswerRe: What is BizTalkServer Pin
Abhijit Jana10-Feb-09 20:03
professionalAbhijit Jana10-Feb-09 20:03 
QuestionGet controlid Pin
SreejithAchutan10-Feb-09 19:13
SreejithAchutan10-Feb-09 19:13 
AnswerRe: Get controlid Pin
Christian Graus10-Feb-09 19:22
protectorChristian Graus10-Feb-09 19:22 
GeneralRe: Get controlid Pin
SreejithAchutan10-Feb-09 19:40
SreejithAchutan10-Feb-09 19:40 
GeneralRe: Get controlid Pin
mr_muskurahat10-Feb-09 21:19
mr_muskurahat10-Feb-09 21:19 
QuestionException In Hashtable with arrayList. Pin
r aa j10-Feb-09 18:23
r aa j10-Feb-09 18:23 
AnswerRe: Exception In Hashtable with arrayList. Pin
Christian Graus10-Feb-09 18:40
protectorChristian Graus10-Feb-09 18:40 

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.