13 Posted Topics
Is there a possibility to hide a column from gridview even if you get that value from DB? I have populated a grid view with some columns from database with following procedure sending a parameter: SqlConnection sqlConn = new SqlConnection(StringKoneksioni.Stringu); using (sqlConn) { SqlCommand sqlCmd = new SqlCommand("procProcedureName", sqlConn); sqlCmd.CommandType … | |
I'm having problem filling the dropdownlist with data from database in a windows based application. I know how to do that in ASP.NET, but I can't find a solution in .NET 4.5 windows based. public void Paraqit_ddListKlasa() { DataTable dt = new DataTable(); SqlConnection sqlConn = new SqlConnection(StringKoneksioni.Stringu); sqlConn.Open(); string … | |
I created a three layer application with BO (Business Objects), BLL (Business Logic Layer) and DAL (Data Access Layer). I had to do some unit testing using nUnit tool. I've done that like following and works perfectly: SQL Tables: USE [Projekti_TI_1] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO … | |
I created a three layer windows based application. I'm trying to make a unit testing using NUINT, but the problem is that I don't know how to access the method. I created my application in this manner : I'll try to test the method Shto(Klasa obj) Business Object namespace "BO" … | |
I made a program server and client, The problem is that I don't know how to send the data from Server to Client for example from listBox at a Server to show those data in a client Listbox. I made some code but still no result. private string ip = … | |
I created a program with twoo projets like Client and Server. To open a form in a button click with one prject goes like following: private void buttonOpenForm_Click(object sender, EventArgs e) { Form2 frmForm2 = new Form2(); frmForm2.Show(); } If I'm calling the Form2 from Server project, I don't know … | |
I created a sofware to register students, subjects and their grades if they past the examination. I used text files to store the data (three text files). Also i Created four forms like following: http://i444.photobucket.com/albums/qq165/dr_iton/DRITONGASHI-PC/paneli.jpg http://i444.photobucket.com/albums/qq165/dr_iton/DRITONGASHI-PC/studentet.jpg http://i444.photobucket.com/albums/qq165/dr_iton/DRITONGASHI-PC/lendet.jpg http://i444.photobucket.com/albums/qq165/dr_iton/DRITONGASHI-PC/vleresimet.jpg The program it works perfect, but now i have to separate the … | |
I created a software in Windows Form Application that includes two Forms. In the form1 there are some textboxes and a listbox. One of textboxes i populated in a listbox with followin method. the name of textbox is xhirollogariaBox Random rasti = new Random(); int numri = rasti.Next(10000000, 99999999); xhiro … | |
I need to create a software that manages a bank account. I created 2 forms. Form one (Form1 "in reality is KlientetForm") has 5 textboxes, 6 buttons and a listbox. Form twoo (Form2 "in reality is GjendjaForm") has 3 textboxes (the same name as in Form1), 2 listboxes and 3 … | |
I'm a student and I have to make a program with Console application to manage a Bank Account, using Classes. The program must be able to: - Create e new bank account - Deactivate a bank account - Draw money from account - show the account balance I tried to … | |
**I created a text file using following method:** using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace FajlliTekstual { class Program { static void Main(string[] args) { FileStream fileStream = new FileStream("shenime.txt", FileMode.Create, FileAccess.Write); TextWriter writer = new StreamWriter(fileStream); Console.WriteLine("Someone Else"); writer.WriteLine("Bla Bla"); writer.WriteLine("Bla Bla"); writer.WriteLine("Unkown Person"); writer.Close(); … | |
Ok lets start with my problem: First i have to write my date of birth with the following format: DD.MM.YYYY This needs to be shown as DDMMYYYY, which means that dots must be lost. I've solved that. This kind of number with 8 digits it needs to be converted in … | |
I need help in the following C# programming: [I]Vehicle manufacturers always offer new saving fuel cars to new drivers. The Renault manufacturer has taken this in consideration and offered new car Renault Clio to a driver Syle LeSylani for one year use. Syle has kept evidence of past kilometers at … |
The End.