The following is part of my code:
Protected Sub DetailsView1_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewUpdateEventArgs) Handles DetailsView1.ItemUpdating
For Each entry As DictionaryEntry in e.NewValues...
I have used form authentication in my web application. This works in my local pc. When I put it to my server. Then try logging in using I.E. 6. The server cannot not return the user identity. I tried logging in again. But this time, I use firefox. The server can return the user identity. That's...
The following is my fragment code:
Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
Dim myWebClient As New WebClient
myWebClient.DownloadFile(New Uri("http://www.google.com"), Request.MapPath("Files\") & "google.htm")...
I have created the index server in my server. And I have created the catalog named "Testing". And the directory contains a text file. The following is the content of the text file:
"I want to buy a house."
After setting up the index server, I tried to do a simple search. The keyword I searched...
Suppose I have a string like that:
Dim s As String = "a b c d e f g h"
how can i use the regular expression to capture the space characters and return the following result?
When you create a new form(Suppose we use VB.Net), there are two files will be generated. One is the .vb file, and the second one is .resx.
What's the usage of resx file? is it just for the visual editor?
There are a button, radiobuttonlist, and dropdownlist control in my own page. And I set the AutoPostBack = true to the radiobuttonlist, and dropdownlist control. When the selectedItem of radiobuttonlist or dropdownlist is changed, the following action will be triggered...
I'm developing the website that can capture the html source from other website. The following is the fragment code of my web:
Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
Dim myReq As HttpWebRequest =...
I have recently written a web application that allow people to obtain the Excel Report. Anyway, I use Microsoft.Office.Interop.Excel to implement this. But the speed of generating Excel is not good. It takes me more than one minutes to obtain the report. So, I suspect the reason why the speed is...
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
In the above function, what is the usage of base.OnInit(e)? I have tried comment this.
override protected void...
I'm developing a window application. However, when I'm using Convert.ToChar() method, The error occured and the message is the following:
Overload resolution failed because no accessible 'Convert' accepts this number of arguments.
I've tried using another convert. the result is the same...
I've written the telnet window application. And I've set up a tesing server so that my program can telnet to that server. My problem are that when I telnet to the server after typing username and password through my program, there is no response output anyway. Another problem is some strange...
Suppose I have two forms. one is Monitor, another is ConnectionProperties.
When I click connect button from Monitor, the ConnectionProperties form is popped up. After inputting the data in the ConnectionProperties form and pressed OK, the ConnectionProperties is hidden.
The source code of OK...
Is there any component for VB.Net to do telnet?I've searched many websites that provides many telnet function. Such like PowerTCP, However, It's not free and so expensive. So, I would like to write it by myself. Any suggestion?
I've found that there is a namespace called Excel in VB.Net. However, I can't figure out how to use. Can anybody post some examples about generating Excel files. Thanks~
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.