473,804 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 Questions about ADO.net

Tom
1. I drag the sqlDataAdapter and sqlConnection from the
tool bar to the web form.

It creates automatically:

Expand|Select|Wrap|Line Numbers
  1. protected System.Data.SqlClient.SqlDataAdapter
  2. sqlDataAdapter1;
  3. protected System.Data.SqlClient.SqlCommand
  4. sqlSelectCommand1;
  5. protected System.Data.SqlClient.SqlCommand
  6. sqlInsertCommand1;
  7. protected System.Data.SqlClient.SqlCommand
  8. sqlUpdateCommand1;
  9. protected System.Data.SqlClient.SqlCommand
  10. sqlDeleteCommand1;
  11. protected System.Data.SqlClient.SqlConnection
  12. sqlConnection1;
  13.  
  14. override protected void OnInit(EventArgs e)
  15. {
  16. InitializeComponent();
  17. base.OnInit(e);
  18. }
  19.  
  20. private void InitializeComponent()
  21. {
  22. this.sqlDataAdapter1 = new
  23. System.Data.SqlClient.SqlDataAdapter();
  24. this.sqlSelectCommand1 = new
  25. System.Data.SqlClient.SqlCommand();
  26. this.sqlInsertCommand1 = new
  27. System.Data.SqlClient.SqlCommand();
  28. this.sqlUpdateCommand1 = new
  29. System.Data.SqlClient.SqlCommand();
  30. this.sqlDeleteCommand1 = new
  31. System.Data.SqlClient.SqlCommand();
  32. this.sqlConnection1 = new
  33. System.Data.SqlClient.SqlConnection();
  34. this.Button1.Click += new System.EventHandler
  35. (this.Button1_Click);
  36.  
  37. this.sqlDataAdapter1.DeleteCommand =
  38. this.sqlDeleteCommand1;
  39. this.sqlDataAdapter1.InsertCommand =
  40. this.sqlInsertCommand1;
  41. this.sqlDataAdapter1.SelectCommand =
  42. this.sqlSelectCommand1;
  43. this.sqlDataAdapter1.TableMappings.AddRange(new
  44. System.Data.Common.DataTableMapping[] {
  45. new System.Data.Common.DataTableMapping
  46. ("Table", "phonebook", new
  47. System.Data.Common.DataColumnMapping[] {
  48. new System.Data.Common.DataColumnMapping
  49. ("id", "id"),
  50. new System.Data.Common.DataColumnMapping
  51. ("name", "name"),
  52. new System.Data.Common.DataColumnMapping
  53. ("phone", "phone"),
  54.  
  55. this.sqlDataAdapter1.UpdateCommand =
  56. this.sqlUpdateCommand1;
  57.  
  58. this.sqlSelectCommand1.CommandText = "SELECT id,
  59. name, phone FROM dbo.phonebook";
  60. this.sqlSelectCommand1.Connection =
  61. this.sqlConnection1;
  62.  
  63. this.sqlInsertCommand1.CommandText = "INSERT INTO
  64. dbo.phonebook(name, phone) VALUES (@name, @phone); SELECT
  65. id, name, phone FROM dbo.phonebook WHERE (id =
  66. @@IDENTITY)";
  67.  
  68. this.sqlInsertCommand1.Connection =
  69. this.sqlConnection1;
  70. this.sqlInsertCommand1.Parameters.Add(new
  71. System.Data.SqlClient.SqlParameter("@name",
  72. System.Data.SqlDbType.NVarChar, 20, "name"));
  73. this.sqlInsertCommand1.Parameters.Add(new
  74. System.Data.SqlClient.SqlParameter("@phone",
  75. System.Data.SqlDbType.NVarChar, 10, "phone"));
  76.  
  77. this.sqlUpdateCommand1.CommandText = @"UPDATE
  78. dbo.phonebook SET name = @name, phone = @phone WHERE (id =
  79. @Original_id) AND (phone = @Original_phone); SELECT id,
  80. name, phone FROM dbo.phonebook WHERE (id = @id)";
  81.  
  82. this.sqlUpdateCommand1.Connection =
  83. this.sqlConnection1;
  84. this.sqlUpdateCommand1.Parameters.Add(new
  85. System.Data.SqlClient.SqlParameter("@name",
  86. System.Data.SqlDbType.NVarChar, 20, "name"));
  87. this.sqlUpdateCommand1.Parameters.Add(new
  88. System.Data.SqlClient.SqlParameter("@phone",
  89. System.Data.SqlDbType.NVarChar, 10, "phone"));
  90.  
  91. this.sqlUpdateCommand1.Parameters.Add(new
  92. System.Data.SqlClient.SqlParameter("@Original_id",
  93. System.Data.SqlDbType.Int, 4,
  94. System.Data.ParameterDirection.Input, false, ((System.Byte)
  95. (0)), ((System.Byte)(0)), "id",
  96. System.Data.DataRowVersion.Original, null));
  97.  
  98. this.sqlUpdateCommand1.Parameters.Add(new
  99. System.Data.SqlClient.SqlParameter("@Original_phone",
  100. System.Data.SqlDbType.NVarChar, 160,
  101. System.Data.ParameterDirection.Input, false, ((System.Byte)
  102. (0)), ((System.Byte)(0)), "phone",
  103. System.Data.DataRowVersion.Original, null));
  104. this.sqlUpdateCommand1.Parameters.Add(new
  105. System.Data.SqlClient.SqlParameter("@Original_name",
  106. System.Data.SqlDbType.NVarChar, 1000,
  107. System.Data.ParameterDirection.Input, false, ((System.Byte)
  108. (0)), ((System.Byte)(0)), "name",
  109. System.Data.DataRowVersion.Original, null));
  110. this.sqlUpdateCommand1.Parameters.Add(new
  111. System.Data.SqlClient.SqlParameter("@id",
  112. System.Data.SqlDbType.Int, 4, "id"));
  113.  
  114.  
  115. this.sqlDeleteCommand1.CommandText = "DELETE FROM
  116. dbo.phonebook WHERE (id = @Original_id) AND (phone =
  117. @Original_phone)";
  118. this.sqlDeleteCommand1.Connection =
  119. this.sqlConnection1;
  120. this.sqlDeleteCommand1.Parameters.Add(new
  121. System.Data.SqlClient.SqlParameter("@Original_id",
  122. System.Data.SqlDbType.Int, 4,
  123. System.Data.ParameterDirection.Input, false, ((System.Byte)
  124. (0)), ((System.Byte)(0)), "id",
  125. System.Data.DataRowVersion.Original, null));
  126. this.sqlDeleteCommand1.Parameters.Add(new
  127. System.Data.SqlClient.SqlParameter("@Original_phone",
  128. System.Data.SqlDbType.NVarChar, 160,
  129. System.Data.ParameterDirection.Input, false, ((System.Byte)
  130. (0)), ((System.Byte)(0)), "phone",
  131. System.Data.DataRowVersion.Original, null));
  132. this.sqlDeleteCommand1.Parameters.Add(new
  133. System.Data.SqlClient.SqlParameter("@Original_name",
  134. System.Data.SqlDbType.NVarChar, 1000,
  135. System.Data.ParameterDirection.Input, false, ((System.Byte)
  136. (0)), ((System.Byte)(0)), "name",
  137. System.Data.DataRowVersion.Original, null));
  138.  
  139. this.sqlConnection1.ConnectionString = "data
  140. source=SERVER;initial catalog=phonedb;persist security
  141. info=False;user id=phoneuser;password:useruser;workstation
  142. id=SERVER;packet size=4096";
  143. this.Load += new System.EventHandler
  144. (this.Page_Load);
  145. }
  146.  
  147. private void Button1_Click(object sender, System.EventArgs
  148. e)
  149. {
  150. }
  151.  
Although insert, delete, update and select sql statements
were done automatically, however, how can i make use of
them? i.e. how can I call them to use under Button1_Click?

2. You can see the this.sqlConnect ion1.Connection String
= "data source=SERVER;i nitial catalog=phonedb ;persist
security info=False;user
id=phoneuser;pa ssword:useruser ;workstation
id=SERVER;packe t size=4096";

It has to include the login id and password in order to
make such connection. I guess it is not secure. How should
I write a secure dbconnection code? Am I better to write a
new DBConnect class?

If I use my DBConnect class, does the above auto-generated
code not useful?

Thanks for advice.

Nov 15 '05 #1
2 1515
Tom,

In order to call the data adatper in your click event handler, you can
just call to sqlDataAdapter1 . It's a member of your class, like any other
member. So, if you wanted to fill a dataset with the results from the
query, you would do:

// Fill the data set.
DataSet pobjDataSet = new DataSet();
sqlDataAdapter1 .Fill(pobjDataS et);

As for creating a new connection class, that's not necessary. You have
one of two options here. The first is to store the connection information
in another location which is more secure. The second is to use trusted
connections (windows security) and not have to worry about logging in at
all.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tom" <ke*****@yahoo. com> wrote in message
news:09******** *************** *****@phx.gbl.. .
1. I drag the sqlDataAdapter and sqlConnection from the
tool bar to the web form.

It creates automatically:

Expand|Select|Wrap|Line Numbers
  1.  protected System.Data.SqlClient.SqlDataAdapter
  2.  sqlDataAdapter1;
  3.  protected System.Data.SqlClient.SqlCommand
  4.  sqlSelectCommand1;
  5.  protected System.Data.SqlClient.SqlCommand
  6.  sqlInsertCommand1;
  7.  protected System.Data.SqlClient.SqlCommand
  8.  sqlUpdateCommand1;
  9.  protected System.Data.SqlClient.SqlCommand
  10.  sqlDeleteCommand1;
  11.  protected System.Data.SqlClient.SqlConnection
  12.  sqlConnection1;
  13.  override protected void OnInit(EventArgs e)
  14.  {
  15.  InitializeComponent();
  16.  base.OnInit(e);
  17.  }
  18.  private void InitializeComponent()
  19.  {
  20.  this.sqlDataAdapter1 = new
  21.  System.Data.SqlClient.SqlDataAdapter();
  22.  this.sqlSelectCommand1 = new
  23.  System.Data.SqlClient.SqlCommand();
  24.  this.sqlInsertCommand1 = new
  25.  System.Data.SqlClient.SqlCommand();
  26.  this.sqlUpdateCommand1 = new
  27.  System.Data.SqlClient.SqlCommand();
  28.  this.sqlDeleteCommand1 = new
  29.  System.Data.SqlClient.SqlCommand();
  30.  this.sqlConnection1 = new
  31.  System.Data.SqlClient.SqlConnection();
  32.  this.Button1.Click += new System.EventHandler
  33.  (this.Button1_Click);
  34.  this.sqlDataAdapter1.DeleteCommand =
  35.  this.sqlDeleteCommand1;
  36.  this.sqlDataAdapter1.InsertCommand =
  37.  this.sqlInsertCommand1;
  38.  this.sqlDataAdapter1.SelectCommand =
  39.  this.sqlSelectCommand1;
  40.  this.sqlDataAdapter1.TableMappings.AddRange(new
  41.  System.Data.Common.DataTableMapping[] {
  42.  new System.Data.Common.DataTableMapping
  43.  ("Table", "phonebook", new
  44.  System.Data.Common.DataColumnMapping[] {
  45.  new System.Data.Common.DataColumnMapping
  46.  ("id", "id"),
  47.          new System.Data.Common.DataColumnMapping
  48.  ("name", "name"),
  49.          new System.Data.Common.DataColumnMapping
  50.  ("phone", "phone"),
  51.  this.sqlDataAdapter1.UpdateCommand =
  52.  this.sqlUpdateCommand1;
  53.  this.sqlSelectCommand1.CommandText = "SELECT id,
  54.  name, phone FROM dbo.phonebook";
  55.  this.sqlSelectCommand1.Connection =
  56.  this.sqlConnection1;
  57.  this.sqlInsertCommand1.CommandText = "INSERT INTO
  58.  dbo.phonebook(name, phone) VALUES (@name, @phone); SELECT
  59.  id, name, phone FROM dbo.phonebook WHERE (id =
  60.  @@IDENTITY)";
  61.  this.sqlInsertCommand1.Connection =
  62.  this.sqlConnection1;
  63.  this.sqlInsertCommand1.Parameters.Add(new
  64.  System.Data.SqlClient.SqlParameter("@name",
  65.  System.Data.SqlDbType.NVarChar, 20, "name"));
  66.  this.sqlInsertCommand1.Parameters.Add(new
  67.  System.Data.SqlClient.SqlParameter("@phone",
  68.  System.Data.SqlDbType.NVarChar, 10, "phone"));
  69.  this.sqlUpdateCommand1.CommandText = @"UPDATE
  70.  dbo.phonebook SET name = @name, phone = @phone WHERE (id =
  71.  @Original_id) AND (phone = @Original_phone); SELECT id,
  72.  name, phone FROM dbo.phonebook WHERE (id = @id)";
  73.  this.sqlUpdateCommand1.Connection =
  74.  this.sqlConnection1;
  75.  this.sqlUpdateCommand1.Parameters.Add(new
  76.  System.Data.SqlClient.SqlParameter("@name",
  77.  System.Data.SqlDbType.NVarChar, 20, "name"));
  78.  this.sqlUpdateCommand1.Parameters.Add(new
  79.  System.Data.SqlClient.SqlParameter("@phone",
  80.  System.Data.SqlDbType.NVarChar, 10, "phone"));
  81.  this.sqlUpdateCommand1.Parameters.Add(new
  82.  System.Data.SqlClient.SqlParameter("@Original_id",
  83.  System.Data.SqlDbType.Int, 4,
  84.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  85.  (0)), ((System.Byte)(0)), "id",
  86.  System.Data.DataRowVersion.Original, null));
  87.  this.sqlUpdateCommand1.Parameters.Add(new
  88.  System.Data.SqlClient.SqlParameter("@Original_phone",
  89.  System.Data.SqlDbType.NVarChar, 160,
  90.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  91.  (0)), ((System.Byte)(0)), "phone",
  92.  System.Data.DataRowVersion.Original, null));
  93.  this.sqlUpdateCommand1.Parameters.Add(new
  94.  System.Data.SqlClient.SqlParameter("@Original_name",
  95.  System.Data.SqlDbType.NVarChar, 1000,
  96.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  97.  (0)), ((System.Byte)(0)), "name",
  98.  System.Data.DataRowVersion.Original, null));
  99.  this.sqlUpdateCommand1.Parameters.Add(new
  100.  System.Data.SqlClient.SqlParameter("@id",
  101.  System.Data.SqlDbType.Int, 4, "id"));
  102.  this.sqlDeleteCommand1.CommandText = "DELETE FROM
  103.  dbo.phonebook WHERE (id = @Original_id) AND (phone =
  104.  @Original_phone)";
  105.  this.sqlDeleteCommand1.Connection =
  106.  this.sqlConnection1;
  107.  this.sqlDeleteCommand1.Parameters.Add(new
  108.  System.Data.SqlClient.SqlParameter("@Original_id",
  109.  System.Data.SqlDbType.Int, 4,
  110.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  111.  (0)), ((System.Byte)(0)), "id",
  112.  System.Data.DataRowVersion.Original, null));
  113.  this.sqlDeleteCommand1.Parameters.Add(new
  114.  System.Data.SqlClient.SqlParameter("@Original_phone",
  115.  System.Data.SqlDbType.NVarChar, 160,
  116.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  117.  (0)), ((System.Byte)(0)), "phone",
  118.  System.Data.DataRowVersion.Original, null));
  119.  this.sqlDeleteCommand1.Parameters.Add(new
  120.  System.Data.SqlClient.SqlParameter("@Original_name",
  121.  System.Data.SqlDbType.NVarChar, 1000,
  122.  System.Data.ParameterDirection.Input, false, ((System.Byte)
  123.  (0)), ((System.Byte)(0)), "name",
  124.  System.Data.DataRowVersion.Original, null));
  125.  this.sqlConnection1.ConnectionString = "data
  126.  source=SERVER;initial catalog=phonedb;persist security
  127.  info=False;user id=phoneuser;password:useruser;workstation
  128.  id=SERVER;packet size=4096";
  129.  this.Load += new System.EventHandler
  130.  (this.Page_Load);
  131.  }
  132.  private void Button1_Click(object sender, System.EventArgs
  133.  e)
  134.  {
  135.  }
  136.  

Although insert, delete, update and select sql statements
were done automatically, however, how can i make use of
them? i.e. how can I call them to use under Button1_Click?

2. You can see the this.sqlConnect ion1.Connection String
= "data source=SERVER;i nitial catalog=phonedb ;persist
security info=False;user
id=phoneuser;pa ssword:useruser ;workstation
id=SERVER;packe t size=4096";

It has to include the login id and password in order to
make such connection. I guess it is not secure. How should
I write a secure dbconnection code? Am I better to write a
new DBConnect class?

If I use my DBConnect class, does the above auto-generated
code not useful?

Thanks for advice.

Nov 15 '05 #2
Tom
Dear Sir,

Thank you for your kind help. Since I am a newbie and just
read some ASP.net and C# books. I am not still familiar
with it.

Here are my questions:

1. Do I write the code like that?

private void Button1_Click(o bject sender, System.EventArg s
e)
{
DataSet pobjDataSet = new DataSet();
sqlDataAdapter1 .Fill(pobjDataS et);
}

But, how can I call the insert command? I need to input
the textbox to the DB.

2. The first is to store the connection information in
another location which is more secure.

Do you mean store it in the registry? How can I call it
from the code after I save it in registry?

The second is to use trusted connections (windows
security) and not have to worry about logging in at
all.

If I use windows security (I guess it is better), how
should I write the following?

this.sqlConnect ion1.Connection String = "data
source=SERVER;i nitial catalog=phonedb ;persist security
info=False;user id=phoneuser;pa ssword:useruser ;workstation
id=SERVER;packe t size=4096";

Regards

Tom

-----Original Message-----
Tom,

In order to call the data adatper in your click event handler, you canjust call to sqlDataAdapter1 . It's a member of your class, like any othermember. So, if you wanted to fill a dataset with the results from thequery, you would do:

// Fill the data set.
DataSet pobjDataSet = new DataSet();
sqlDataAdapter 1.Fill(pobjData Set);

As for creating a new connection class, that's not necessary. You haveone of two options here. The first is to store the connection informationin another location which is more secure. The second is to use trustedconnections (windows security) and not have to worry about logging in atall.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4107
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for all companies between year 2000-2005 in my website http://www.geocities.com/allinterviewquestion/ So please have a look and make use of it.
0
4604
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
7230
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
4
2514
by: Drew | last post by:
I posted this to the asp.db group, but it doesn't look like there is much activity on there, also I noticed that there are a bunch of posts on here pertaining to database and asp. Sorry for cross-posting. I am trying to build a "checklist", where a user can navigate to an ASP page on the intranet which shows a list of "questions" that the user can check off. I am trying to figure out how to do this so that it is scalable, but I am...
8
7990
by: Krypto | last post by:
Hi, I have used Python for a couple of projects last year and I found it extremely useful. I could write two middle size projects in 2-3 months (part time). Right now I am a bit rusty and trying to catch up again with Python. I am now appearing for Job Interviews these days and I am wondering if anybody of you appeared for a Python Interview. Can you please share the questions you were asked. That will be great help to me.
0
1506
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers-6.html C# Interview Questions and Answers 5...
1
1627
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers-6.html C# Interview Questions and Answers 5...
0
4517
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers7.html C# Interview Questions and Answers 6 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers-6.html C# Interview Questions and Answers 5...
0
3434
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions http://interviewdoor.com/technical/C-sharp-Interview-Questions.htm C++ Interview Questions http://interviewdoor.com/technical/C++-Interview-Questions.htm
0
2946
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions http://interviewdoor.com/technical/C-Interview-Questions.htm C# Interview Questions http://interviewdoor.com/technical/C-sharp-Interview-Questions.htm C++ Interview Questions http://interviewdoor.com/technical/C++-Interview-Questions.htm
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9587
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.