This code is called on my grid view event , I want to open a new window on grid event. But on this page where this code is not working, it is not working for any control , be it simple button click , and on other pages, it is working on same events, I wonder whats so special in this page , I thought it must be ajax creating problem but now i have removed its reference from the page with same result happening.
I use this VB.NET code in my webproject to export a datatable to an Excel file. The characters é,ä, ... are shown in the Access database, I fill the datatable with the content of a table from the database and export it to Excel. In Excel é, ä, ... are replaced with strange characters... Does anyone know why this happens?
Dim oConn As clsRoot
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim oLog As New clsLog(clsLog.LogLevel.Warning, Server.MapPath("log/contacten.log"))
oConn = New clsRoot(Server.MapPath("link/contacten.udl"), oLog)
Dim dt As DataTable = oConn.getContacten()
Response.ContentType = "application/ms-excel"
'Converts a DataTable to Tab Delimited Format
Private Function ConvertDtToTDF(ByVal dt As DataTable) As String
Dim dr As DataRow, ary() As Object, i As Integer
Dim iCol As Integer
'Output Column Headers
For iCol = 0 To dt.Columns.Count - 1
Response.Write(dt.Columns(iCol).ToString & vbTab)
For Each dr In dt.Rows
ary = dr.ItemArray
For i = 0 To UBound(ary)
Response.Write(ary(i).ToString & vbTab)
hi in my application i aam using two dropdownlists.
in pageload i pass values for first dropdown and select index of the first dropdown i display second dropdown values.
but without refreshing the page how can i get values into second dropdown.
I have been trying to insert data into a database using textboxs and sqldatasource, the data comes from the user simple things such as name address,etc and is then stored in the database. I do not want to use datagrids and tables the information will never be shown to anyone it's for creating a simple mail list. If anyone knows any good articles on this please let me know.
i have the folder with may word document am using the below function to send word document to a PDFserver and convert into PDF, for example i will send(infile,outfile)-> (test.doc,test.pdf) but when i send the request it converting all the word file inside the folder any suggestions??
I want to enable a faxing service in my site so that clients could sent faxes to me with a copy as email. Please help me with some guidelines or other links that would be helpful.Also send what are the requirements for including a fax service in my site. Thankyou.
Last Visit: 31-Dec-99 19:00 Last Update: 3-Dec-21 7:08