|
did you click on the link??
You might not know how to write javascript, but i'm sure you can copy and paste...
|
|
|
|
|
Thank for ur answer
................
|
|
|
|
|
No problem. Apologies for being a bit snappy, not quite awake this morning yet...
|
|
|
|
|
I want to retirve record as codeprobject foum page also, but i don't how to getting star, i can only get subject, author, datetime
................
|
|
|
|
|
Hi,
Im having word document in the Server Machine. While im trying to open the file in Client Machine file is opening in Server only. I need to open in the client only. This is an ASP.NET project done in VB.NET. This is an intranet project.
The Code i used to Open the file
---------------------------------------------
Dim oWordApplic As New Word.ApplicationClass
Dim oDoc As Word.Document
Dim strFileName As String = ConfigurationSettings.AppSettings("ServerWordDocu") + ReportName + ".doc"
Dim fileName As String = strFileName
oWordApplic.Visible = True
oDoc = oWordApplic.Documents.Open(fileName)
oDoc.Activate()
----------------------------------------------------------------
Another code i used giving link to Hyperlink. Just i give the link to hyperlink but its opening in readonly format. so i cant able to do any modification. Because i have to save the file in the server.
HyperLink1.Text = Name + ".doc"
HyperLink1.NavigateUrl = ConfigurationSettings.AppSettings("WordDocu") + Name + ".doc"
----------------------------------------------------------------
Another type i Checked its also opening in readonly.
Dim filename As String = ConfigurationSettings.AppSettings("WordDocu") + ReportName + ".doc"
Response.ContentType = "application/ms-word"
Response.AddHeader("ContentDisposition", "attachment;filename")
Response.WriteFile(filename)
Give me the solution i need it very urgent.
Thanks in advance
Senthil V.
|
|
|
|
|
|
Sir,
Can we add menu items on the webform without using javascript?
Thanks and Regards
Amaneet Brar
|
|
|
|
|
Yes we can. But it depends very much on what you want to do...
|
|
|
|
|
hai this is Ajay.
Good morning
i m working with GridView in Asp.net2.0.
i m binding it with a datasource.
i put the whole gridview in the tag and add a scrollbar to it.
everything is fine till now.
problem is that when i scroll the grid the "header" of grid also scroll out.
i want to make it fixed.
may i.
if yes help me.
-- modified at 2:23 Friday 9th June, 2006
|
|
|
|
|
hi,
is it possible for you to use datagrid? I have a a solution for fixed header of datagrid,but dont know whether it will work for gridview or not.
write a CSS class for your header.inside the header css write....
top:expression(this.offsetParent.scrollTop);
I know this is not the actual solution of your question. but if it will of any use then fine.
Tirthadip
|
|
|
|
|
Hi friends This Avinash here.
I wants to create a hierarchical datagrid in vb.net,but not getting any idea about this.so please provide some help to me.
Regards.
|
|
|
|
|
Hi,
I am developing an Web application in ASP.NET with C# .when i run the project on local machine i.e localhost the default page get loaded.
when i view its source code i get :
<title>Digicertify.com-Login
|
My problem is that how can we remove the tag thats highlighted in the above source code i.e.the view state tag should not appear in the html source file.
Apart from that i have disabled all view state properties.......
Kindly suggest me the remedy ........
thanks in advance.
regards
Irshad Ahmad.
Irshad Ahmad |
|
|
|
|
|
|
Try turning off ViewState for the whole page, i.e. set enableViewState=false in the Page directive on top of the page. I think that disabling the ViewState for individual controls is not enough to ensure that there won't be any enabled ViewState left.
Talal
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
--Rich Cook
|
|
|
|
|
that doesnt work i.e even though i have done the enableViewState=false in the page directive i get this problem.....
kindly suggest any other solution
Irshad Ahmad
|
|
|
|
|
Disable the ViewState does not help as the Page instance always emits this hidden element. In this case, you can try to remove the runat="server" in the form tag, and make sure that there's no control requiring the form tag marked with the runat="server" like TextBox .... placed in the form.
|
|
|
|
|
I have an idea, realy dirty solution, but if there is no other choice...
override Render method of a Page class and remove this row manualy after rendering.
But don't tell anybody it was my idea
Pilo
|
|
|
|
|
Sir,
There is no problem in the following code while creating the excelconnection but i am not getting one thing during the connection events.
I have underlined that .Please explain that
Dim MyConnection As System.Data.OleDb.OleDbConnection
Dim DtSet As System.Data.DataSet
Dim MyCommand As System.Data.OleDb.OleDbDataAdapter
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _
"data source='" & PrmPathExcelFile & " '; " & "Extended Properties=Excel 8.0;"
MyCommand = New System.Data.OleDb.OleDbDataAdapter("select * from [sheet1$]", MyConnection)
MyCommand.TableMappings.Add("Table", "Attendence")
DtSet = New System.Data.DataSet
MyCommand.Fill(DtSet)
DataGrid1.DataSource = DtSet.Tables(0)
MyConnection.Close()
Thanks and Regards
Amaneet Brar
|
|
|
|
|
hi i want to use RSS Feed for every page in my Project.i know its a XML info.But i dont know how to convert the Webpage in the Xml Format.Pls any body help me to sortout the problem.
Thanx
Aavesh
|
|
|
|
|
i am generating excel report on button click. when the button is clicked a new thread is generated and the method name that creates the report is passed as the delegate name to the new thread. I need to pass parameters to new thread. For that i have created global variables and initialize them before creating the new thread. i use the values of these variables in the new thread's method. Is this technique right?? or is there some flaw in it??
|
|
|
|
|
|
Hi,
I want to know what are the areas in ASP.NET that we should be thorough with? If I go for an interview what areas should I concentrate more.
Regards,
Uma
-- modified at 0:02 Friday 9th June, 2006
|
|
|
|
|
hi In general Asp.net is Vast but if u r going for Interview then u should more concentrate on Ado.net part,how to work with datagrid because its a main part of Asp.net.Some other parts also their u can concentrate on that like What is Webservice,Remoting etc.what is difference between asp or asp.net etc there r so many question.if u will search on net u will find so many question.i hope this will help u
Aavesh
|
|
|
|
|
hi Aavesh,
Thank you for the info that u have provided.
Uma
|
|
|
|
|
hi uma
its my pleasure.
even i post some query when i got stuck.
bye
take care
happy programming
Aavesh
|
|
|
|
|
Mainly you need to concentrate on following areas
1)8 Intrinsic Objects (Request,Response....)
2)Server side controls(web controls,rich controls,validaton controls etc)
3)JavaScript
4)Memory management(Sessoin,Application,Cookies)
5)go thru the FAQ's(Mc Millan)
6)C# programming basics
7)Basics about IIS(Internet Information Services)
8)Html
All the best..........
-- modified at 1:48 Friday 9th June, 2006
|
|
|
|