Click here to Skip to main content
15,844,752 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to set row/column's height/width in datagrid?? Pin
varun_khanna173-Nov-06 21:22
varun_khanna173-Nov-06 21:22 
GeneralRe: how to set row/column's height/width in datagrid?? Pin
talk2prabir@yahoo.co.in11-Oct-06 21:52
talk2prabir@yahoo.co.in11-Oct-06 21:52 
GeneralRe: how to set row/column's height/width in datagrid?? Pin
steven_wong11-Oct-06 23:31
steven_wong11-Oct-06 23:31 
GeneralRe: how to set row/column's height/width in datagrid?? Pin
talk2prabir@yahoo.co.in12-Oct-06 0:34
talk2prabir@yahoo.co.in12-Oct-06 0:34 
AnswerRe: how to set row/column's height/width in datagrid?? Pin
talk2prabir@yahoo.co.in12-Oct-06 0:45
talk2prabir@yahoo.co.in12-Oct-06 0:45 
GeneralRe: how to set row/column's height/width in datagrid?? Pin
steven_wong12-Oct-06 3:20
steven_wong12-Oct-06 3:20 
QuestionProblem with response.write and offcie documents Pin
Ritesh123411-Oct-06 17:26
Ritesh123411-Oct-06 17:26 
AnswerRe: Problem with response.write and offcie documents Pin
Abhishek Joshi11-Oct-06 20:07
Abhishek Joshi11-Oct-06 20:07 
Do following steps.

1. Include "Microsoft Office 11.0 Object Library" on your project and get file content of your file using following steps

Word.ApplicationClass wordApp = null;
Word.Document doc doc = wordApp.Documents.Open(ref file,ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing,ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,ref missing, ref missing, ref missing);
//Save the contents of File in database as
string str = doc.Content.Text;
//Save str to database

2. Open a temp page as follows.

Response.Write("");
Response.Write("window.open('temp.aspx');");
Response.Write("</"+"script>");

3. On this temp.aspx page load do following steps
//Retrieve File contents eighter form database wich we have saved in step1

byte [] FileContent = (byte[])row["FileContent"];
Response.Clear();
Response.AddHeader("Content-disposition", "inline;filename="+FileName);
Response.ContentType = "application/msword";
Response.BinaryWrite(FileContent);
Response.End();
//If this not works then do following
HttpContext.Current.Response.BinaryWrite(FileContent);
Response.End();
:->

<div class="ForumSig">
#Abhi#</div>
GeneralRe: Problem with response.write and offcie documents Pin
Ritesh123412-Oct-06 5:59
Ritesh123412-Oct-06 5:59 
GeneralRe: Problem with response.write and offcie documents Pin
Ritesh123412-Oct-06 11:22
Ritesh123412-Oct-06 11:22 
QuestionI can not see my modification on class library when I call it Pin
Naif_Prof11-Oct-06 12:44
Naif_Prof11-Oct-06 12:44 
AnswerRe: I can not see my modification on class library when I call it Pin
minhpc_bk11-Oct-06 15:36
minhpc_bk11-Oct-06 15:36 
QuestionRe: I can not see my modification on class library when I call it Pin
Naif_Prof12-Oct-06 9:50
Naif_Prof12-Oct-06 9:50 
GeneralRe: I can not see my modification on class library when I call it Pin
Naif_Prof12-Oct-06 9:59
Naif_Prof12-Oct-06 9:59 
QuestionDatalist EditItemtemplate Radiobutton Pin
AntDorr11-Oct-06 12:13
AntDorr11-Oct-06 12:13 
AnswerRe: Datalist EditItemtemplate Radiobutton Pin
minhpc_bk11-Oct-06 15:38
minhpc_bk11-Oct-06 15:38 
GeneralRe: Datalist EditItemtemplate Radiobutton Pin
AntDorr11-Oct-06 23:44
AntDorr11-Oct-06 23:44 
Questionscript in C# Pin
abdelhameed8111-Oct-06 9:37
abdelhameed8111-Oct-06 9:37 
AnswerRe: script in C# Pin
Fedor Hajdu11-Oct-06 9:44
professionalFedor Hajdu11-Oct-06 9:44 
GeneralRe: script in C# Pin
abdelhameed8111-Oct-06 10:26
abdelhameed8111-Oct-06 10:26 
GeneralRe: script in C# Pin
MIHAI_MTZ11-Oct-06 10:59
MIHAI_MTZ11-Oct-06 10:59 
Questionntext data type Pin
abdelhameed8111-Oct-06 9:34
abdelhameed8111-Oct-06 9:34 
AnswerRe: ntext data type Pin
Guffa11-Oct-06 15:14
Guffa11-Oct-06 15:14 
QuestionMailserver using Exchange server Pin
Giri Sankar11-Oct-06 8:59
Giri Sankar11-Oct-06 8:59 
AnswerRe: Mailserver using Exchange server Pin
minhpc_bk11-Oct-06 15:57
minhpc_bk11-Oct-06 15:57 

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.