What is Unity Panel?
According to the official site, there are two «panels»: one on the left hand-side (blue on the image infra), called «task panel» (or launcher) and one at the top of the screen (green), called «menu panel».
Related videos on Youtube
user3531533
Updated on September 18, 2022Comments
-
user3531533 over 1 year
"INSERT INTO Fn_Registration VALUES ( '"+ txtFirstName.Text + "', '" + txtLastName.Text + "', " + " '" + txtEmailId.Text + "', " + " '" + txtPassword.Text + "', " + " '" + txtPanNumber.Text + "', " + " '" + txtAddress1.Text + "', " + " '" + txtAddress2.Text + "', " + " '" + txtFaxNo.Text + "'," + " '" + txtFirmName.Text + "', " + " '" + txtPhoneNumber.Text + "', " + " '" + txtTinNumber.Text + "','" + txtAccountsStart.Text + "','" + txtAccountsEnd.Text + "','" + cbbVat.Text + "', " + " '" + cbbstates.Text + "', " + " '" + txtCity.Text + "', '" + txtBankName.Text + "', '" + txtAccountNumber.Text + "', " + " '" + txtIFSCCode.Text + "', " + " '" + txtBN1.Text + "', " + " '" + txtAC1.Text + "', " + " '" + txtIFSC1.Text + "', " + " '" + txtBN2.Text + "', " + " '" + txtAC2.Text + "', " + " '" + txtIFSC2.Text + "')";
this is my insert code into mysql database where id num must be auto increamented,,, but mysql doesnot performs auto incrementation can any one help .........
C# code
string regInset = "INSERT INTO Fn_Registration VALUES ('" + 101 + "', '"+ txtFirstName.Text + "', '" + txtLastName.Text + "', " + " '" + txtEmailId.Text + "', " + " '" + txtPassword.Text + "', " + " '" + txtPanNumber.Text + "', " + " '" + txtAddress1.Text + "', " + " '" + txtAddress2.Text + "', " + " '" + txtFaxNo.Text + "'," + " '" + txtFirmName.Text + "', " + " '" + txtPhoneNumber.Text + "', " + " '" + txtTinNumber.Text + "','" + txtAccountsStart.Text + "','" + txtAccountsEnd.Text + "','" + cbbVat.Text + "', " + " '" + cbbstates.Text + "', " + " '" + txtCity.Text + "', '" + txtBankName.Text + "', '" + txtAccountNumber.Text + "', " + " '" + txtIFSCCode.Text + "', " + " '" + txtBN1.Text + "', " + " '" + txtAC1.Text + "', " + " '" + txtIFSC1.Text + "', " + " '" + txtBN2.Text + "', " + " '" + txtAC2.Text + "', " + " '" + txtIFSC2.Text + "')"; cmd = new MySqlCommand(regInset, con); da = new MySqlDataAdapter(cmd); ds = new DataSet(); da.Fill(ds, "Fn_Registration"); this.clearData();
-
Uri Herrera over 11 yearsThe top bar is called a -Panel-. The Launcher is the "Dock" at the left. Unity Official site
-
fabricator4 over 11 yearsNo, the top bar is called the "menu bar". askubuntu.com/questions/10228/…. Technically, the Launcher is the panel, but 'panel' is Gnome terminology and open to misinterpretation. We shouldn't be using it.
-
Uri Herrera over 11 years@fabricator4 The entire thing, not counting the AppMenu and the Indicators is called a Panel (I rightfully think is wrongly called Menubar because not only does it hold the menus, but also has the indicator area). It isn't just a Gnome term, in KDE is called a Panel too (in XFCE, LXDE, E17 it's also a Panel and in any case Unity runs on Gnome software so Gnome terms apply). And The Launcher in Unity is the left side "dock", "sidebar", "thing on the left".
-
Milan Halada about 10 yearswhat column should be autoincremented? the one where you put 101? or some other? do you have it set to autoincrement?
-
user3531533 about 10 yearsthe which i have put 101 and i have set the column to autoincreament...when i tried to enter second time 101 doesnt perform auto increament and is shows primary key violation as i have given primary key for that column.... @Uriel_SVK
-
Milan Halada about 10 yearsCheck answer of Bob Brinks, if you input 101 it wont autoincrement, you have to exclude the column that you want autoincremented
-
Milan Halada about 10 yearsbtw, what do you think would happen if i put
'); drop table Fn_Registration;
in one of those textboxes?(dont do it!) en.wikipedia.org/wiki/SQL_injection
-
-
n00b over 11 years@ kelvinafox: Thanks for the illustration. As the saying goes, "A picture is worth a thousand words". So what do Ubuntu developers prefer to call it? "Launcher" or "Unity Panel"?
-
kelvinafox over 11 yearsThe whole bar is the Unity Panel and when you click the Ubuntu logo button at the top, the part that opens is called the Launcher.
-
n00b over 11 years@ kelvinafox: Thanks very much. You guys rock! I wish to take this opportunity to wish one and all Merry Christmas.
-
kelvinafox over 11 yearsEverybody here's glad to help. Have a good Christmas too.
-
fabricator4 over 11 yearsUmm, when you click the Unity logo on the launcher, what opens is the 'dash'
-
Jorge Castro over 11 yearsNobody calls that the panel, that's the launcher.
-
fitojb over 11 yearsThen the official site should be fixed. The top bar is the menu bar or panel, and the left bar is simply the Launcher.
-
threeleggedrabbit about 10 yearsplease don't write queries and pass parameters directly, this is one of the bad standards . To answer your question you should mention the id as identity column in the database, nothing you need to configure here.