Click here to Skip to main content
15,890,336 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Remember me Cookie Pin
nour12317-Mar-08 22:39
nour12317-Mar-08 22:39 
GeneralRe: Remember me Cookie Pin
eyeseetee17-Mar-08 22:54
eyeseetee17-Mar-08 22:54 
GeneralRe: Remember me Cookie Pin
nour12318-Mar-08 6:49
nour12318-Mar-08 6:49 
Questiondisplay msexcel in panel Pin
iswaryaramkumar17-Mar-08 20:09
iswaryaramkumar17-Mar-08 20:09 
GeneralDouble post - please ignore Pin
pmarfleet17-Mar-08 20:50
pmarfleet17-Mar-08 20:50 
GeneralFTPweb request Pin
Laxmikant Lad17-Mar-08 19:46
Laxmikant Lad17-Mar-08 19:46 
Generalquery within query [modified] Pin
rahul.net1117-Mar-08 19:46
rahul.net1117-Mar-08 19:46 
Questiondisplay msexcel in panel Pin
iswaryaramkumar17-Mar-08 19:30
iswaryaramkumar17-Mar-08 19:30 
i have stored excel file in database i have display it in panel control.
my code is
try
{
string val = Session["f"].ToString();
connect = ConfigurationManager.AppSettings["connection"].ToString();
SqlConnection Sqlcon = new SqlConnection(connect);
string ssql = "select contents from reports where modulename='"+val+"'";
Sqlcon.Open();
DataTable dt = new DataTable();

SqlDataAdapter Sqladp = new SqlDataAdapter(ssql, Sqlcon);
Sqladp.Fill(dt);
int count = dt.Rows.Count;
for (int i = 0; i < count; i++)
{
byte[] file = (byte[])dt.Rows[i]["contents"];

// Response.ContentType = "application/ms-excel";
Response.ContentType = "application/xls";
//Response.BinaryWrite(file);
Response.OutputStream.Write(file, 0, file.Length);
//Response.End();
}
Sqlcon.Close();

}
catch (Exception EX)
{
string ERR = EX.Message;
}
finally
{
//Sqlcon.Close();
}
GeneralRe: display msexcel in panel Pin
Paul Conrad21-Mar-08 9:24
professionalPaul Conrad21-Mar-08 9:24 
General.dll file. Pin
nagendrathecoder17-Mar-08 19:28
nagendrathecoder17-Mar-08 19:28 
GeneralRe: .dll file. Pin
Christian Graus17-Mar-08 19:33
protectorChristian Graus17-Mar-08 19:33 
GeneralRe: .dll file. Pin
rahul.net1117-Mar-08 19:47
rahul.net1117-Mar-08 19:47 
Generalstyle="display:inline-block;border-width:1px;border-style:Solid;width:200px Pin
joshc17-Mar-08 18:53
joshc17-Mar-08 18:53 
GeneralRe: style="display:inline-block;border-width:1px;border-style:Solid;width:200px Pin
Christian Graus17-Mar-08 19:05
protectorChristian Graus17-Mar-08 19:05 
GeneralCustom Vallidation for file extension. Pin
SreejithAchutan17-Mar-08 18:48
SreejithAchutan17-Mar-08 18:48 
GeneralRe: Custom Vallidation for file extension. Pin
SreejithAchutan17-Mar-08 19:49
SreejithAchutan17-Mar-08 19:49 
GeneralRe: Custom Vallidation for file extension. Pin
saini arun18-Mar-08 11:19
saini arun18-Mar-08 11:19 
Questioncan i give vista looking effect to my web applicaiton Pin
koolprasad200317-Mar-08 18:27
professionalkoolprasad200317-Mar-08 18:27 
AnswerRe: can i give vista looking effect to my web applicaiton Pin
Christian Graus17-Mar-08 18:48
protectorChristian Graus17-Mar-08 18:48 
GeneralRe: can i give vista looking effect to my web applicaiton Pin
koolprasad200318-Mar-08 1:13
professionalkoolprasad200318-Mar-08 1:13 
GeneralRe: can i give vista looking effect to my web applicaiton Pin
saini arun18-Mar-08 11:23
saini arun18-Mar-08 11:23 
Generaltable adapter with dynamic connection string Pin
uglyeyes17-Mar-08 17:24
uglyeyes17-Mar-08 17:24 
GeneralRe: table adapter with dynamic connection string Pin
uglyeyes17-Mar-08 19:29
uglyeyes17-Mar-08 19:29 
Generalupdate panel , textbox lost focus. Pin
RanjithLogics17-Mar-08 16:47
RanjithLogics17-Mar-08 16:47 
QuestionHow to change text of button inside in grid view Pin
Rajesh_K_Sharma17-Mar-08 16:25
Rajesh_K_Sharma17-Mar-08 16:25 

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.