|
Thanks mate! these articles helped quite a bit!
|
|
|
|
|
please anybody reply of this query that i am working on web portal,Basically i have to track which machine shutdowm or up for this user have to input IP address of server through which I easily track status of machine but application working fine on INTRANET but when i hosted on internet it will not work,For INTERNET user have to input IP address of the server whom it want to connect but it will not work.If my concept is wrong to connect the server through my application by IP address then please reply how to connect server of any remote netwok.
|
|
|
|
|
I'm not really sure what you are trying to get at, but if you are trying to ping a server over the internet i think you might run into problems. Somebody correct me here if i am wrong, but the internal network IP for a server is most likely not the same as the external facing IP address of the company - i.e. if a company has several servers, all with individual internal IPs, they will still probably only have one external IP address for the company as a whole.
|
|
|
|
|
i have included reference for using outlook express in asp.net. i have selected microsoft outlook 11.0 object library. while i try to run this proj after my code it gives the error. Please tell me why this problem.
Code:
using Outlook = Microsoft.Office.Interop.Outlook;
Outlook.Application app = new Outlook.ApplicationClass();
Outlook.NameSpace NS = app.GetNamespace("MAPI");
Outlook.MAPIFolder inboxFld = NS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
foreach (Outlook.MailItem t in inboxFld.Items)
{
//Console.WriteLine(t.Subject);
Response.Write(t.Subject);
}
Error:
The type or namespace name 'Outlook' does not exist in the namespace 'Microsoft.Office.Interop' (are you missing an assembly reference?).
Prya
|
|
|
|
|
Outlook Express does not use the Microsoft Outlook object model. It doesn't have any COM object model.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
Not outlook Express. Its Microsoft Outlook. Only for Microsoft outlook i have added reference microsoft outlook object 11.0.
Prya
|
|
|
|
|
the project is split into 2 parts
the web application and windows application
through windows application i have to download a csv file from a site to myPC
automatically and then upload the same to the website automatically.It would be a great help if i could get the code in VB.NET for both upload and download as well.
AMIT(TATA CMC)
-- modified at 0:59 Monday 10th July, 2006
|
|
|
|
|
So you want the code for all of this? Hang on a wee minute while i go off and do it for you...
There are upload/download articles on this site if you have a search, they should give you an idea of where to start
|
|
|
|
|
Hi,
I have a dynamically created Datatable for a Datagrid.On first Page, i add the data entered in the textboxes to the Datagrid using Datatable. Then i go to the next Page. When i come back to the First Page,i cant see the Datagrid and data in it. But values in the textbox are there as i used
Session("A")=textbox.text. When i tried the same for a datatable,as
Session("Table")=dt where dt is datatable,it is not working. How to get the values in the datatable and datagrid.
|
|
|
|
|
i think you need to reassign the updated datatable to session before going to next page.
sorry if i did't understand the question properly.
Nav.
|
|
|
|
|
hi guy,.
i have some problem here.
i want to get my data out as a string or using sql but i cannot find any source of it.
i dont wan to use datagrid. is there other way.?
i need to use a Response.Write(content) to write the data out..
please help me asap..
_________________
regards
bang
|
|
|
|
|
Save the Excel sheet as a CSV(Comma seperated value). You can then parse the csv file and manipulate the contents and display it.
In faith there is enough light for those who want to believe and enough shadows to blind those who don't.
- Blaise Pascal
|
|
|
|
|
u mean i can change using asp.net coding to CSV?
cos after i can get the data out from the excel i later still need to change the data from excel.
and how to manipulate the contents and display it.
sorry i new to asp.net..
thanks and regards
bang
|
|
|
|
|
You should save the .xls file as a .csv file. Then give the .csv file as the input to your program. You can parse the .csv file like the way you parse a text file.
In faith there is enough light for those who want to believe and enough shadows to blind those who don't.
- Blaise Pascal
|
|
|
|
|
MM.. but if later part i hav to update my excel.. will it affect the coding or CSV file?
do u hav any small sample to see.?
|
|
|
|
|
I have a DataGrid whose contents I query from the database. I am using C# to code my project. Many rows being displayed in the DataGrid does not helped user by using the menubar from Internet Explorer, Print and Print Preview to print the information. Can it be done literally without the copy paste of the datagrid method to excel sheet or micorsoft word?
thanks in advance. Much appreciated.
|
|
|
|
|
can you just modify your stylesheet and add a @media print style so the grid is 'not diplayed' (as such, at least the grid components, like pager, grid lines etc) and format the internal grid data as you please?
hth,
g00fy
|
|
|
|
|
@media print style? I am not familiar with that. Any samples?
thanks in advance. Much appreciated.
|
|
|
|
|
http://webdesign.about.com/cs/css/a/aa042103a.htm
|
|
|
|
|
Hi,
One thing you can do is ... generate table from the datagrid.
THis will give u a nice layout and perfect look of the print out.
Thanks,
Sushant Duggal.
|
|
|
|
|
A good idea. Thanks. Do you have any links? The method of generating it?
thanks in advance. Much appreciated.
|
|
|
|
|
|
Hi,
Yes you can use this code .. but it will be better to develop your own code .. as you can do this without using graphics(GDI+).
Just create a table from the datagrid (Generate DataTable) and use it
I hope it works,
THanks
Sushant Duggal.
Sushant Duggal.
|
|
|
|
|
Hai
I would like to use a free open source Data Block in my Web project. Can anyone suggest some good and excellent among them.
Thanks in advance
|
|
|
|
|