Click the link on the webpage to trigger the code for the mobile phone to automatically call or save the phone. Click the link to call

Source: Internet
Author: User

Click the link on the webpage to trigger the code for the mobile phone to automatically call or save the phone. Click the link to call

<A href = "tel: // 110"> call </a>

Support for Saipan, Android, and iphone


Lenovo's mobile phone automatically saves the number to the favorites after making a call.

Hello!
For convenience, it is recommended that you go to Lenovo's service station to query and diagnose the problem. The service is free of charge during the warranty period. The main components are guaranteed for 2 years, and the system and software are guaranteed for 1 year, international licensed companies must register IWS global warranty service providers. You can query the selection of service stations:
Support1.lenovo.com.cn/..f_fwwd
Other questions can be found in these two forums,
Idea Forum: lenovobbs.lenovo.com.cn/...ureply
Think Forum:
Thinkbbs.lenovo.com.cn/...ureply
Hope to help you. Thank you.
Lenovo enterprise Platform [Official Certification]

High score c # Save webpage data: Save webpage content to database code

If you want to save the data to the database, you will not be able to. If you want to save the data, take a look at the following. If not, you can learn the most basic knowledge of ADO. NET.

Protected string getHtml (string url)
{
HttpWebRequest webRequest = null;
HttpWebResponse webResponse = null;
StreamReader streamReader = null;
String content = string. Empty;
Try
{
WebRequest = (HttpWebRequest) WebRequest. Create (url );
WebRequest. Method = "GET ";
WebResponse = (HttpWebResponse) webRequest. GetResponse ();
Stream stream = webResponse. GetResponseStream ();
StreamReader = new StreamReader (stream, System. Text. Encoding. GetEncoding ("GB2312 "));
Content = streamReader. ReadToEnd ();

}
Catch
{
Throw;
}
Finally
{
StreamReader. Close ();
WebResponse. Close ();
}
Return content;
}
Protected void button#click (object sender, EventArgs e)
{
String url = this. TextBox1.Text. Trim ();
Response. Write (getHtml (url ));
}

Remember to import the namespace System. Net; System. IO;

In this way, you can use buttons to read the HTML code of a website. Returns a string type!

Then you can save it to the database!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.