Search

You searched for the word(s): userid:193782

Matching Posts

  • Compair and update local database regularly from Live database

    Hi I have 5 different Sites in .Net talking to one SQL database, I am using "System.Data.Sqlclient" for connection string "Dim Conn As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("HQ_App").ConnectionString)" and in my code on every instant whenever I am talking to SQL I am opening the Conn and closing the Conn. Even though the sites are very busy their is no problem from SQL Now my requirement is I have to connect this live DB server and
  • Re: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted

    Hi Nihar Thank you very much for your detailed explanation I have cross check every thing as you refered on both the machines and projects with reference to bin folder and (c:\windows\assembly) On development Machine it was fine but on Server I could not find the "Microsoft.Office.Interop.Excel.dll" in assembly folder rest these two were present "Microsoft.Vbe.Interop.dll", "office.dll" even though I have installed office2003 on server So what I did I deleted all the
  • Re: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted

    Hi Nihar, I have tried your option, by installing the same version of office on both the systems and same DLL but still no luck
  • Attempted to read or write protected memory. This is often an indication that other memory has been corrupted

    Hi, I am using VS 2008, and trying to upload an excel file in my web application, These are the steps which I am doing to achive my result 1. After uploading the excel file on the server 2. I am opening the excel file in code behind and editing the file and saving it on the server 3. Renaming the file 4. Reading the file and inserting the records from excel to SQL Well all this is hapening as per my requirement perfectly on development server But not going smoothly on Live server I have office Excel
  • Re: Dropdown list array from DirectoryInfo

    Thanks everyone for the information provided. After achieving the above result I had to modify couple of thing to my result, As per my request I needed the textfield and value different as I was using the value field in postback ddl_Year.DataTextField = (?) ddl_Year.DataValueField = (?) Hence I have used as below to achieve the result(it works but any suggestion) ddl_Year.Items.Add(New ListItem((month & " " & s1), folderName)) And I had to sort the folders latest to be on the top
    Posted to Web Forms (Forum) by koese on 5/25/2009
  • Re: Dropdown list array from DirectoryInfo

    Thanks everyone for the information provided. After achieving the above result I had to modify couple of thing to my result, As per my requirement I needed the Textfield and Value both as different so that I can use the value during postback ddl_Year.DataTextField = (?) ddl_Year.DataValueField = (?) hence I used it like this as below (well it works now but any suggestions) ddl_Year.Items.Add(New ListItem((month & " " & s1), folderName)) And I had to sort the folders latest to be
    Posted to Web Forms (Forum) by koese on 5/25/2009
  • Dropdown list array from DirectoryInfo

    Hi, I need to get the directory list from the server in the dropdown list control Dim dirInfo As New DirectoryInfo(Server.MapPath( "../members/ " )) Dim YmFolder As DirectoryInfo() = dirInfo.GetDirectories() Since I have all the folders named as (200901,200902,200903,200904, ect) I am getting my output successfully by doing as below ddl_Year.DataSource = YmFolder ddl_Year.DataBind() But my requirement is instead of showing 200901,200902...ect in the drop down list I need 2009 Jan, 2009
    Posted to Web Forms (Forum) by koese on 5/21/2009
  • Print *.html files from server on client printer

    Hi I need to print (*.html) files from a specific folder using the below example Initially I will get the files from the server folder and will display in a datagrid. Sub Page_Load(sender as Object, e as EventArgs) Dim dirInfo as New DirectoryInfo(Server.MapPath("path/specificFolder/")) articleList.DataSource = dirInfo.GetFiles("*.html") articleList.DataBind() End Sub something like this http://www.4guysfromrolla.com/demos/ListArticles.AllowDelete.aspx after getting those results
    Posted to Web Forms (Forum) by koese on 5/20/2009
  • html source viewer

    Hi I am looking for similar to this in .net http://source.domania.net/ where I can get the source code and display the required content on literal control cheers
    Posted to Web Forms (Forum) by koese on 7/18/2008
Page 1 of 9 (84 items) 1 2 3 4 5 Next > ... Last »