blah blah blah is here! blah blah » Close

1
votes
4 answers

Adding two string values C#

I'm just trying to keep two string values (filename & path) separate and later trying to combine them......[code] string sourcepath = "V:\\Common\\gsvirdi\\"; string bakpath = "E:\\gsvirdi\\backup"; ...

0
votes
1 answers

xml & multiple users.

Friends, I have an xml file which is populated into my datagridview (DGV) with the following code: [code]DataSet ds = new DataSet(); ds.ReadXml(Form1.Paths.filename);[/code] I wish to add Multiple user functionalit ...

0
votes
1 answers

Combobox Items.

I need to compare combobox items (text) with the filename. I tried doing something like this: [code]for(int x =0; x>comboBox1.Items.Count; x++) { if (comboBox1.Items[x].ToString() == filename) // something }[/code] But this is n ...

0
votes
1 answers

File.IO error

I'd used [b]System.IO;[/b] in my winform application so that I can copy files (backup original file) from one Drive to another drive using [b]File.Copy();[/b] thing. My Network Folder is having "Read/Write" access to all user ...

0
votes
2 answers

SQL Statement

Hi I'm doing a winform app with sql server 2008 in VS2008, where a company has parking lots for rent. It works like this, when a car arrives it gets a date of arrival. If this car never has been invoiced before my sql statement should g ...

0
votes
2 answers

DGV Cell Format not working

I wanted the user to input values in "dd MMM yyyy" format Only, I'm using dataGridView1.Columns["Rel_Date"].DefaultCellStyle.Format = "dd MMM yyyy"; in Form_Load......... But somehow it's not working. I can ...

0
votes
16 answers

New set of doubts

I'm trying to create a login code and I'm not able to figureout the code, I'm just trying to compare the username & the password value from access table. Usernames and passwords are in same access table, Table(User)>Column1(Users) ...

0
votes
1 answers

Sqlcommandbuilder update issue

Hi I need some help for updating my tabel, I'm using VS2008 winform with sql database. It's really very basic but still I'm stucked here, I have some textboxes and buttons on a form and by clicking the add button a new record will be ...

1
votes
2 answers

How to use LIKE statement SQL

Hi I'm doing a winform application and uses a gridview, a textbox and a button in VS2005. I'm trying to make a query that gives me all lastnames starting with the letter I enter in my textbox. It works for me to enter a complete lastname ...

0
votes
6 answers

Datagridview (Popup) in C#

My dataGridView is fetching data from an xml file, the AutoRefresh option will reload the data after an interval of 1 minute. Let's assume that the user had "Checked" the AutoRefresh checkBox and had minimised the WinForm..... ...

1
votes
2 answers

XML deserialization

Deserialization class is collecting just the first element from the xml.[code][XmlElement("typ")] public string Typ { get { return typ; } set { typ = value; } } [XmlE ...

0
votes
1 answers

How to populate more than one listbox?

Hi all I'm doing a winform appl. in visual studio 2008, and I would like to know if someone can please help me? I have a sql server database and it's easy to bind for example all names from the database to a listbox, but what if I want t ...

0
votes
3 answers

Displaying a PDF file from within winForm C#

I'm just creating a simple calculator in C# (windows form) . I've created a "User Help" which is a pdf file, what I want is to display that pdf file if the user clicks on the "Help" button in the WinForm. If assumed th ...

0
votes
1 answers

Transaction Debit Credit in C# WinForm Ms Access

please tell how to Data calculate Debit Credit in WinForm C# database Ms Access.

0
votes
1 answers

Nobody knows DataGridView.

I created a DGV and linked it with an mdb file, but I don't know what I should be doing to identify the changed cells? Bcoz I need to update the mdb file when the DGV cell is changed in the winForm. I've been reading thru http://msdn.micro ...

Feedback