Click here to Skip to main content
15,921,837 members
Home / Discussions / C#
   

C#

 
AnswerRe: XML to DataTable Pin
himanshu256124-Jun-09 20:03
himanshu256124-Jun-09 20:03 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:21
Cracked-Down24-Jun-09 20:21 
General[Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 20:38
Abdul Rahman Hamidy24-Jun-09 20:38 
GeneralRe: XML to DataTable Pin
Cracked-Down24-Jun-09 20:52
Cracked-Down24-Jun-09 20:52 
GeneralRe: [Message Deleted] Pin
0x3c024-Jun-09 21:03
0x3c024-Jun-09 21:03 
GeneralRe: [Message Deleted] Pin
Abdul Rahman Hamidy24-Jun-09 21:07
Abdul Rahman Hamidy24-Jun-09 21:07 
AnswerRe: XML to DataTable Pin
Rajesh Anuhya24-Jun-09 21:08
professionalRajesh Anuhya24-Jun-09 21:08 
QuestionHow to download .jar file to Mobile using asp.net and c# Pin
rekhashiji24-Jun-09 18:29
rekhashiji24-Jun-09 18:29 
I wrote a program to download .jar file to mobile ,but its is saving as .aspx file to mobile and it is reporting an error like this file is not supported by the device.But there is no problem with windows mobiles..
Please Help me to find out the solution for this.

Code Snippet I used to download as follows

protected void Command1_Click(object sender, EventArgs e)
{
string EXEPath = System.Configuration.ConfigurationManager.AppSettings["downloadEXEPath"].ToString();
string exefilename = System.Configuration.ConfigurationManager.AppSettings["EXEFileName"].ToString();

HttpRequest httpreq = Context.Request;
HttpResponse httpres = Context.Response;

FileInfo fil = new FileInfo(Server.MapPath("~\\" + EXEPath));
if (fil.Exists == true)
{
httpres.Clear();
httpres.ContentType = "application/java-archive jar";
httpres.AddHeader("Content-Length", fil.Length.ToString());
httpres.AddHeader("content-disposition", "attachment; filename=" + exefilename);
httpres.BinaryWrite(File.ReadAllBytes(Server.MapPath("~\\" + EXEPath)));
httpres.Flush();
httpres.End();
}
}
QuestionChange a forums start up position [modified] Pin
2TammyB24-Jun-09 15:42
2TammyB24-Jun-09 15:42 
AnswerRe: Change a forums start up position Pin
Christian Graus24-Jun-09 16:19
protectorChristian Graus24-Jun-09 16:19 
AnswerRe: Change a forums start up position Pin
Mycroft Holmes24-Jun-09 19:16
professionalMycroft Holmes24-Jun-09 19:16 
QuestionDataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 14:02
Illegal Operation24-Jun-09 14:02 
AnswerRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 15:43
Illegal Operation24-Jun-09 15:43 
GeneralRe: DataGridViews and ComboBoxes Pin
jdhforever24-Jun-09 16:17
jdhforever24-Jun-09 16:17 
GeneralRe: DataGridViews and ComboBoxes Pin
Illegal Operation24-Jun-09 16:35
Illegal Operation24-Jun-09 16:35 
QuestionGetting XHTML tags by tag name Pin
Jordanwb24-Jun-09 12:00
Jordanwb24-Jun-09 12:00 
AnswerRe: Getting XHTML tags by tag name Pin
harold aptroot24-Jun-09 12:59
harold aptroot24-Jun-09 12:59 
GeneralRe: Getting XHTML tags by tag name [modified] Pin
Jordanwb25-Jun-09 7:12
Jordanwb25-Jun-09 7:12 
GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:26
harold aptroot25-Jun-09 7:26 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:29
Jordanwb25-Jun-09 7:29 
GeneralRe: Getting XHTML tags by tag name Pin
harold aptroot25-Jun-09 7:30
harold aptroot25-Jun-09 7:30 
GeneralRe: Getting XHTML tags by tag name Pin
Jordanwb25-Jun-09 7:35
Jordanwb25-Jun-09 7:35 
Questionmenustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod24-Jun-09 11:26
ThorTheBraveGod24-Jun-09 11:26 
AnswerRe: menustirp items disappear from designer, but still in properties list Pin
Cracked-Down24-Jun-09 20:24
Cracked-Down24-Jun-09 20:24 
GeneralRe: menustirp items disappear from designer, but still in properties list Pin
ThorTheBraveGod25-Jun-09 3:19
ThorTheBraveGod25-Jun-09 3:19 

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.