Click here to Skip to main content
15,881,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to maintain text in textbox while navigatin to different page. Pin
rahul.net1127-Jun-07 1:12
rahul.net1127-Jun-07 1:12 
GeneralRe: How to maintain text in textbox while navigatin to different page. Pin
Amit Kumar G27-Jun-07 1:31
Amit Kumar G27-Jun-07 1:31 
QuestionValidation Code Pin
ballameharmurali27-Jun-07 0:23
ballameharmurali27-Jun-07 0:23 
AnswerRe: Validation Code Pin
Amit Kumar G27-Jun-07 0:33
Amit Kumar G27-Jun-07 0:33 
GeneralRe: Validation Code Pin
ballameharmurali27-Jun-07 19:51
ballameharmurali27-Jun-07 19:51 
Questioninput form help! Pin
boyindie27-Jun-07 0:17
boyindie27-Jun-07 0:17 
QuestionExport Access Reports Pin
André Stroebel27-Jun-07 0:11
André Stroebel27-Jun-07 0:11 
AnswerRe: Export Access Reports Pin
Pallavi Bhoite27-Jun-07 1:03
Pallavi Bhoite27-Jun-07 1:03 
sorry but i dnt know if my answer will help u by any way or not. but i done xls report of database in my site. here is what i done earlier . there are two ways..
(but at final i used dataset and manually write .. to Responce. which is working fine and is Live)-----

#region old code

//Response.Clear();
//Response.Buffer= true;
//Response.ContentType ="application/vnd.ms-excel";
//Response.Charset = "";
//this.EnableViewState = false;
//System.IO.StringWriter oStringWriter = new System.IO.StringWriter();
//System.Web.UI.HtmlTextWriter oHtmlTextWriter = new System.Web.UI.HtmlTextWriter(oStringWriter);
//this.ClearControls(Dgreport);
//Dgreport.RenderControl(oHtmlTextWriter);
//Response.Write(oStringWriter.ToString());
//Response.End();

#endregion
----------------------------------------------------
//try
//{
#region old code diff way

/*DataSet tempds2=new DataSet();
tempds2=getReportData();
if(!(tempds2.Tables[0].Rows.Count<=0))
{
string fileName = "Report.xls";
string FullPath = Server.MapPath("\\")+fileName;
tempds2.WriteXml(FullPath,XmlWriteMode.WriteSchema );
FileInfo file=new FileInfo(FullPath);
if(file.Exists)
{
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/vnd.ms-excel";//"application/octet-stream";
Response.WriteFile(file.FullName);
}
}*/

#endregion

pallavi

GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 1:24
André Stroebel27-Jun-07 1:24 
GeneralRe: Export Access Reports [modified] Pin
Pallavi Bhoite27-Jun-07 1:44
Pallavi Bhoite27-Jun-07 1:44 
GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 1:57
André Stroebel27-Jun-07 1:57 
GeneralRe: Export Access Reports Pin
Pallavi Bhoite27-Jun-07 2:12
Pallavi Bhoite27-Jun-07 2:12 
GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 2:37
André Stroebel27-Jun-07 2:37 
QuestionMid function.......... Pin
n_gchaitra27-Jun-07 0:03
n_gchaitra27-Jun-07 0:03 
AnswerRe: Mid function.......... Pin
SHatchard27-Jun-07 0:14
SHatchard27-Jun-07 0:14 
GeneralRe: Mid function.......... Pin
n_gchaitra27-Jun-07 2:22
n_gchaitra27-Jun-07 2:22 
AnswerRe: Mid function.......... Pin
Craster27-Jun-07 1:35
Craster27-Jun-07 1:35 
QuestionHow to sort data in datagrid? Pin
Amit Sk Sharma26-Jun-07 23:58
Amit Sk Sharma26-Jun-07 23:58 
AnswerRe: How to sort data in datagrid? Pin
rahul.net1127-Jun-07 0:31
rahul.net1127-Jun-07 0:31 
QuestionIFrames in ASP.NET Pin
J Liang26-Jun-07 23:31
J Liang26-Jun-07 23:31 
AnswerRe: IFrames in ASP.NET Pin
SHatchard27-Jun-07 0:06
SHatchard27-Jun-07 0:06 
GeneralRe: IFrames in ASP.NET Pin
J Liang28-Jun-07 17:58
J Liang28-Jun-07 17:58 
QuestionValidating TextBox with Javascript generated value Pin
ZeedijkMike26-Jun-07 22:37
ZeedijkMike26-Jun-07 22:37 
AnswerRe: Validating TextBox with Javascript generated value Pin
Eduard Keilholz26-Jun-07 22:42
Eduard Keilholz26-Jun-07 22:42 
GeneralRe: Validating TextBox with Javascript generated value Pin
ZeedijkMike26-Jun-07 22:48
ZeedijkMike26-Jun-07 22:48 

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.