- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 11
- Upvoting Members
- 10
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
hi there, I have a mask text box with the mask as $9999999999.99 as money. when i type in a value as 12345.67 it appears as $_____12345.67 and when i save it to the database it is saved in the correct format as 12345.67 as money as the data type. … |
|
I am moving an object around from one node to another. I need to tell the object to stop moving when it has reached its destination node. I am currently using this algorithm for movement and node checking [CODE] if (!isFinished) { // If the level has arrived at the … |
|
Hi, Need an help in reading a column value where there are addresses which holds data in any language, for now, when i try to read the column value i get ?????? instead of 世田谷. Any idea how to read this exact value back ? The insert worked properly. but … |
|
select SUBSTRING('hello 世田谷区経堂世田谷区経堂 ',5,10) as Japanese gives output as "o ????????". Is there any way i can get the substring of above string ? Thanks in advance for your help. |
|
I'm a little bit stuck at this moment. As of now, this is the code that I have: private void btnChangeImage_Click(object sender, EventArgs e) { using (OpenFileDialog openFileDialogForImgUser = new OpenFileDialog()) { string location = null; string fileName = null; openFileDialogForImgUser.Filter = "Image Files (*.jpg, *.png, *.gif, *.bmp)|*.jpg; *.png; *.gif; … |
|
Hi ppl, I am new to this grp and looking some friends. anyways, I am facing problems while usign UserControls in C#. the error says that the references might be missing etc. But, Ive used the same previously and it worked without any problems. I'll be thankful to anyone offering … |
|
Hi Everyone. Background :- Winform App creates database in MSSQL LocalDB & creates tables. Data is imported & analysed then report is created. At any point in the process the user can start a new project & tables are removed to be re-created later as the user progresses through the … |
|
I have a c++ program that is writing in a txt file every second and I want to get that data that is being written by c#. so the c++ is only writing and the c# is reading. with my knowledge txt files can't be accessed from 2 diffrent programs … |
|
|
|
hi, im trying to insert data using Checklist and it is only inserting one even if i selected all che checkboxes, please help.hr is my Code protected void Button1_Click(object sender, EventArgs e) { //C:\Documents and Settings\PraiseM\My Documents\Visual Studio 2008\Projects\MiniProjectAcc\MiniProjectAcc\Employee.accdb OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Documents and Settings\PraiseM\My … |
|
I have a console application with two classes: - **MyIntList** Which initilzes the array and handles the input and outputs. - **Program** This has the Main() method which handles the users input and sends them too the handlers in **MyIntList**. The problem I am having is that when the array … |
|
I want to add one of the column in a database table as components in a combobox. How to do it? I am using visual studio 2012 and c#. Help me please. Thank you in advance. |
|
namespace gridStudent { public partial class Form2 : Form { public Form2(DataGridView dgvFromFom1) { foreach (DataGridViewColumn dc in dgvFromFom1.Columns) { dataGridView1.Columns.Add(dc.Name, dc.HeaderText); } foreach (DataGridViewRow dr in dgvFromFom1.Rows) { Object[] newRow = new object[dr.Cells.Count]; for (int i = 0; i < newRow.Length; i++) { newRow[i] = dr.Cells[i].Value; } dataGridView1.Rows.Add(newRow); } … |
|
Hi all, We are using TortoiseHg(Mercurial) as a sub version control in our project currently, we are now planning to migrate the sub version control to TFS 2013. 1. is this possible without the loss of any revisions that are exisitng. 2. is this possible without the loss of any … |
|
Hi all, We are using TortoiseHg(Mercurial) as a sub version control in our project currently, we are now planning to migrate the sub version control to TFS 2013. 1. is this possible without the loss of any revisions that are exisitng. 2. is this possible without the loss of any … |
|
Hi guys, I'm running into an issue that's really frustrating me. It's probably the most common newbie oversight, causing me to get the dreaded NullReferenceException. I've encountered it many times before, but this time it's got me stumped. I'm filling a Datagrid with a table from a database. I'm able … |
|
how can we load valuse to a data grid from textbox...without saving in database..and i also need to save the data from the grid to db when clicking the submit button |
|
Hello all!! I am trying to create a Windows Form Application that allows a user to answer 10 questions. The program contains a 'next button so that when the user clicks it, the next question appears. My problem is trying to figure out how to code for the next button. … |
|
hi all; again i have a little bit wired problem here what i'm trying to achive here is that i would like to to a search query to search an employee and after that change the depatment and after that update the data into access database and as you can … |
|
Hi All I have to forms (frmMain & frmEditMonth). frmMain has a tabControl on the 12 tabs (1 for each month) and a datagridview showning the days and the times and hours worked frmEditMonth (used as a edit Dialog pop-up) allows the user to edit the hours worked what i … |
|
Hi all..i have some trouble to insert data into 2 table.. i use asp.net with C# language..this is my table : DOCUMENT id_document name description VERSI Id_versi Id_document url_file size type modifiedon relationship of document and versi is one to many.. this is my code, but i cant store anything.. … |
|
Hi, I'm looking for a way to get a single data value from a table by an SQL statement and store it in a variable (i'm using C#). example: table: customers(customer_ID, name, age) string variable = SELECT name FROM customers where customer_ID = 25 It's probably not that hard, but … |
|
Hi, I have a VS2005/C#/.NET 2.0 application in which i'm hosting a web browser control. I would like to offer a "record" and "playback" functionality for web page activity. Meaning- Say a user wants to record a certain sequence of actions like (just a raw example): 1) navigating into a … |
|
Can someone give me a hint on how it works? I'm working on a project and specific forms are only allowed to admins. For example there are forms 1, 2 and 3. forms 1 and 2 is only allowed to admins. Guest is logged in, and the button that redirects … |
|
Hi, i'm new 2 C#, so my question may seem stupid... but, what is the code to exit an application. I know in java it is: [CODE]System.exit(0);[/CODE] Thanx in advanced, C++ |
|
Hello everyone, I was wondering if anyone could tell me how to connect and query sql databases in c#. Thanks in advance |
|
Good day people! I have a problem with my C# window application. I can't insert new record to database. I have sought for many tutorial in ADO.net and Entity Framework. I have been tackling it in Entity Framework because that is my preference. My piece of Entity Framework code would … |
|
hi all i update guestinfo all are update but the gender and martial status is not updated which is in comobox here is the button code private void button7_Click(object sender, EventArgs e) { guests myguest = new guests(); myguest.Guest_id = Convert.ToInt32(guest_id.Text); myguest.First_name = first_name.Text; myguest.Last_name = last_name.Text; myguest.Gender_status = Convert.ToString(gender_status.SelectedValue); … |
|
Hi All, firstly thankyou for taking the time to read this, and in advance thanks for the help :) im a newbie to this site, and also to programming. my project is a BMI calculator, so far, i have coded the (input) textboxes, made it switchable from metric to imperial … |
|
hi all now guyz i add a info in datagrid view also displau now i hve some probelms that when i create a update fuction in guestinfo table then the guest_id is autogenerte then can i delete through guest_id or not and it is also not updated public void update() … |