- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 17
- Posts with Upvotes
- 16
- Upvoting Members
- 11
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
I want use Inner Join link 2 table and display in a datagridview. For example, PDC_FG Table contain PONO,Customer Customer Table contain Customer, Zone 2 table has same field is Customer. [CODE]ConnectionStringSettings conSettings = ConfigurationManager.ConnectionStrings["MyDBConnectionString"]; string name = conSettings.ProviderName; string providerName = conSettings.ProviderName; string ConnectionString = conSettings.ConnectionString; string sql = … |
|
Hi all! I am sorry if im asking same thing for the nth time but i can not find the answer to my question... I have problem adding partial views... I have One-to-Many relation in the database tables. My Model is: using System; using System.Collections.Generic; public partial class Job { … |
|
Hello everyone, I have to create a wpf application where i have to create 2 windows(one for toolbox and one for work area) similar to visual studio appearance, in toolbox window i will have controls like button,textblock etc, when i do drag and drop from toolbox to work area on … |
|
hi all I had make this samll method to insert data from c# forms into my oracle database the code processed fine but when I go to sql developers software to check if the record has been inserted or not I found nothing... so whats wrong with it please thanks … |
|
Hi Everyone. Can I ask your help? Actually I encountering the error The "connection is already open.". here is my DBconnect.cs public class DBConnect { public static string csConnect = "uid=root; database=membership; pooling = false; convert zero datetime=True"; public static MySqlConnection csCon= new MySqlConnection(Classes.DBConnect.csConnect); public MySqlCommand cmdCon = new MySqlCommand(); … |
|
I am trying to set ntfs permissions for a user folder such that the user has Read and Execute permissions for This Folder Only but has Full Control for All Subfolders and Files. I am using this code, which is not doing what I need: public void AddDirectorySecurity(string dirName, string … |
|
I'm developing an application in which i want the software to be executed at any place. So i want the database to be placed in one computer. This is the scenario. All the computers will be networked. Can i do this in c#.net ? Please tell me the procedures. Thank … |
|
using (StreamReader readFile = new StreamReader(filepath)) { string line; while ((line = readFile.ReadLine()) != null) { textBox1.Text = textBox1.Text + line + Environment.NewLine; } } This is what I have so far. I have tried using .Split to try to seperate them but do not know much about it. So … |
|
hi everbody, i search how i can make the same login page as https://www.tumblr.com/ if some have any idea think's for your helping :) |
|
Hey, Who can give me a hint on this case? Let's say I have an object "MyObject" with the following properties (this is a breakdown for easier explination) public clas MyObject { public string Column { get; set; } public string Value { get; set; } public int Row { … |
|
|
|
Hi I have a partial view, where my partial view will be called from Menu. When i call it, do server send only the partial view, or send all view (header, menus, footer)? |
|
Dear Programmer, I was asked to develop a console programme that reads an integer n and a list of up to 5 divisors (also integers) from the console and computes the sum of all integers up to (but excluding) n which are divisible by any of the five divisors. For … |
|
I have 2 below tables: tblCustomers: id customerName 1 John 2 Philip 3 Steve tblOredrs: id customerId ordId payment 1 1 100 True 2 1 101 True 3 1 102 False 4 2 101 True 5 2 102 True 6 2 103 False 7 3 101 True my condition is: … |
|
This has by far no practical use. But as I was used to VS, handling most of the code housekeeping "behind the back", I wanted to try to make a Forms program as minimalistic as possible. Start an Empty project, include a reference to System.Windows.Forms and fill in the code. … |
|
Hi, I am new to C#. Please help me to solve this problem. Given an "**input.txt**", I want to obtain the "**output.txt**" as below: **input.txt** 5,5 A(,)= 4.6; B(,)= 0.1; C(,)= 0.2; D(,)= 1.6; E(,)= 245; F(,)= 3.3; 5,15 A(,)= 6.3; B(,)= 0.9; C(,)= 0.2; D(,)= 1.6; E(,)= 242; F(,)= … |
|
i am having combobox in the each cells of the datagrid when i select others from the combobox i want to add textbox in the same cell of that datagrid if anyone knows how to do it give some code sample |
|
I am trying to do something like this: public Boolean CheckLogin(String accNumber, String pin) { String checkAccNumber; String checkPin; String line; String[] splitedLine; StreamReader sr = new StreamReader(FILE); while (line = sr.ReadLine()) { splitedLine = line.Split(' '); checkAccNumber = splitedLine[0]; checkPin = splitedLine[1]; if ((checkAccNumber == accNumber) && (checkPin == … |
|
Hi everyone, I have a tricky question, at least for me. We have a website deployed on IIS that once in a while throws a NullPointerException when trying to read the `HttpContext.Current.Application["JScriptRootPath"]` value. So this is the whole scenario: This is just a key added in the Web.config file that … |
|
Hi...! I was working on a basic chess game it shows the possible move for each of the piece that you've selected. I uploaded the file in [This](http://www.mediafire.com/?4lhwjbu2ahbfl14) link : When you click on a button form title is the postion of the button you've selected but i don't know … |
|
What is the Congiguration manager class in the code and how do you set it in the Project or IDE? How do I set AppSettings in an ASPX project's Configuration manager? This is an ASPX/CS Project with Visual Studio 2010. It is a Configuration Manager question. I am successfully debugging … |
|
500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. The OS is Windows 7 and its of 32-bit OS type After publishing I get the above error. This OS is Windows Server 2008 R2 and is of 64-bit.. … |
|
hi guys. i hve a database name event. i hve a studentaccount table and faculty account table. studentaccount table has id,vstudentname columns and faculty account has id,vfacultyname columns. i want to add both table ids to combobox. how can i acheive that. i hve successfully managed to do it for … |
|
Hi, I want to retrieve the full WSDL file content, i.e. the XML content preferably as a string. The input will be the URL of the WSDL. If anyone has got any idea then please do reply. - Thanks Ambar |
|
hi pls I need someones help. i am not good at programming and i have this subject ; but i am a BSBA major. it is like free section for me and i want to learn it to so i can be flexible. but this project is getting all my … |
|
I'm Developing A very Basi App For Generating Bill On A retail shop I'm Using Access(mdb) As Data Base The Table with Name "Invoice"(Holds grand Total And Deposited Against That Invoice) On which I wants to perform task has fields As Follow: InvoiceId , CustomerId , CustomerName , InvoiceTotal , … |
|
Hi friend , I am currently designing a project in which there is a picturebox and a upload button. If the user clicks on upload the file is open and the user select the desired picture from the file and display in the picturebox which is then saved to the … |
|
Alright. I've just been told that, instead of creating new forms over and over again using *new FormName();* I should simply open 1 form and then hide/show it as I please. The issue now is, that I don't really know where/when I should create these new form instances and how … |
|
Hy all, I'm developing a windowsforms app and I'm trying to use threads. public void Thread1(DataTable dt2,DataTable dt,int x,int y) { string cui = ""; string cod_asis = ""; for (int i = x; i < y; i++)//dt.Rows.Count { var currentRow = dt.Rows[i]; cui = currentRow["cui"].ToString().Trim(); cod_asis = currentRow["cod_asis"].ToString().Trim(); cui … |
|
hii, i am trying to create an image in which i am drawing a chess board with multiple colors and Drawing a string on it. but the string is not always drawn. sometimes it is drawing half charecter. I hv tried AddString it also doesnt work. plz help it is … |