- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 8
- Posts with Upvotes
- 8
- Upvoting Members
- 8
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
By God's Grace, I will succeed.
- Interests
- Chess, C#, asp.net, MVC, JavaScript, jQuery, CSS, PHP, MySQL, MSSQL, SQLite, AutoCAD, Vacation, Photography,…
- PC Specs
- No Computer
Now I am going through a project with colors. And then I think that if I try to display color values with their names in a simple combobox, it could be amazing. I tried and did it and it is looking like ![Capture3.png](/attachments/small/4/4473f7608016edcb5981090cccc80593.png "align-left") And ![Capture4.png](/attachments/small/4/87a5e5686d66033648a3e0ab787d6778.png "align-left") And finally the … |
|
we r trying to insert date from datetime picker into mssqlserver 2005 but it also enter defult time(00:00) with it in database. using we want only date... [CODE]& xyzdtp.value.date &[/CODE] |
|
I inserted data in sql server using asp.net (MVC 5), and its flowing nicely, but my problem is this. I don't want to insert in sql the exist data. How can I do it? |
|
I want to save an image from my computer to my project. c:\\image1.jpg to MyWebProject image folder. how can I do it? |
|
How to use two models in a view using Tuple and view model and what is there diffences? |
|
hi I have developed my owen windows form, and instal different copies of it at different platforms i have istaled it at win 7 and xp it's work well but at windows 8 when i pring data from sql db to show at for edit or it gives me this … |
|
for example. name of field: f1 = "field1", f2 = "field2", f3 = "field3", f4 = "field4" how can I update the value of f2 and f3 without changing the value of f1 and f4. f2 = "new field2", f2 = "new field3" the new value of fields are. f1 … |
|
Action link in my nav menu <li>@Html.ActionLink("Log Off", "Logout", "Account")</li> My Logout.cshtml codes. @{ ViewBag.Title = "Log Out"; Session.Clear(); FormsAuthentication.SignOut(); Response.Redirect("~/../Home/Index.cshtml"); } Why I can't access my logout form? |
|
foreach (DataRow udr in udt.Rows) { defaultval = udr["result"].ToString(); cmb.SelectedText = defaultval; cmb.Select(); cmb.DataSource = ddtable; cmb.DisplayMember = "ListVal"; cmb.ValueMember = "DetailID"; } here problem is that i want to put defaultval at selectedindex 0,here default value is taken from anothe table. i mean i have send a combo selected … |
|
for those who don't know, the PNG format in WinXP MS Paint is actually extended. the format is supplied via mfc42u.dll found in system32/ with this in mind, it may be possible to write an exploit to add extended support for even more formats, and quite possibly custom formats. |
|
I have this code in my login.php, from sigin.php page if the user click on signin, it will display wrong username or password but the username and password is in the database named Username and Password. Please i will appreciate if someone can fix this error for me. Your concern … |
|
Function Key(F1,F2...) Press open Window Form Instead of Using Menu Button |
|
Hi guys, I have to create a C# application which is able to mask images but I don't really get on with it... I thought I will use this example for the project: http://www.camera-sdk.com/p_248-how-to-implement-image-masking-in-c-onvif.html Any ideas or experiences? Has anyboby here used this? Any help would be appreciated. Thanks!! |
|
I have this gallery any help on how to enter text under each image that is moused over, i want the text to be written under the big centred image? I have the whole website attached Thanks in advance <DOCTYPE html> <html> <head> <title>Gallery</title> <link rel="stylesheet" type="text/css" href="../css/style.css"/> <style> img … |
|
|
I built a database structure with codefirst EF from a tutorial but I can't find the database. I've looked in (localdb) and it's not in my local install of SQLServer. Would anybody know where I would need to look to find the database? |
I have DatagridView on form. My database has three fields. - userId (bigint) - userName (varchar) - userDob (date) Now, on Form I have comboBox, which lists Months (Jan, Feb, March and so on...). I want my program to work like this. If I select any month on ComboBox, birthdays … |
|
Create an array that holds 20 elements. User should enter 20 test scores, the program therefore calculates the average of all tests scores. Izf user enters test score less than 0 or above 100 an error message should display. Additionally it must display the entire array with 20 test scores … |
|
try { string reslt = null; string test; foreach (Control c in flowLayoutPanel1.Controls) //here is the minor change { if (c.GetType() == typeof(ComboBox)) { reslt = c.Text; ComboBox combo = (ComboBox)flowLayoutPanel1.Controls.Find(c.Name, true).FirstOrDefault(); test = combo.SelectedValue.ToString(); string insertrec = "insert into testreport(TestID,result,rang,labno,DetailID)Values('" + refid + "','" + reslt + "','0','" + … |
|
public partial class Form4 : Form { private OleDbConnection connect = new OleDbConnection(); public Form4() { InitializeComponent(); connect.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Bino Unity\Desktop\user1.accdb;Persist Security Info=False;"; } private void Form4_Load(object sender, EventArgs e) { } private void login_button_Click(object sender, EventArgs e) { connect.Open(); OleDbCommand command = new OleDbCommand(); command.Connection = connect; command.CommandText … |
|
Hello, I need the path (string) of an embedded file in a Console application. I tried "Properties.Resource.file", but I got its content, not the path. Any help is appreciated. |
|
Hello I was wondering if it is posible to show the user profile along with the products information let suppose if I had shown th the produtcs information can i show the information of the user who uploaded this prodcut. $query2 = "SELECT * FROM users, products; $get_user = mysqli_query($connection, … |
|
private void comboKeyPressed() { cboAuthor.DroppedDown = true; object[] originalList = (object[])cboAuthor.Tag; if (originalList == null) { // backup original list originalList = new object[cboAuthor.Items.Count]; cboAuthor.Items.CopyTo(originalList, 0); cboAuthor.Tag = originalList; } // prepare list of matching items string s = cboAuthor.Text.ToLower(); IEnumerable<object> newList = originalList; if (s.Length > 0) { newList … |
|
Can anyone give me an example to use authentication and authotization in MVC and C#? |
|
HI, Am new to PL\SQL. I just want to fetch the 4 fields from employee table. how to do it? employee_ID, First_name, Last_name, total number of employees from employee table. i tried to fetch using count() function. but it is not giving the total number of employees. can anyone please … |
|
private void Form1_Closed(object sender, System.EventArgs e) { // Create a PDF document object PDFDocument doc = new PDFDocument(); // Creates a PDF page PDFPage page = new PDFPage(this.Width, this.Heigh,PDFMeasurementUnit.Points); page.MeasurementUnit = PDFMeasurementUnit.Points; // Parses controls on the form for (int i = 0; i < this.Controls.Count; i++) { Label label … |
|
guys, i have a bit of an anomole exporting to excel. on date formats, it seems no matter what i export to excel, it becomes a 24hr clock. for instance the date format thats being exported is stored as:: 03/11/2015 04:26:09 PM - however when it hits excel, it becomes: … |
|
I have three tables namely student, result and subject but whenever i try to join them i get this error message in the browser Database query failed: Unknown column 'student.student_code' in 'field list' here is my query $query = "SELECT student.student_code, student.firstname, student.middlename, student.lastname, student.gender, result.student_code, result.subject_code, result.mark, subject.subject_code, subject.subject_name … |