blah blah blah is here! blah blah » Close

0
votes
0 answers

Rows are not insert in datagrid.. Please Help...

Hi. I want to insert data grid using datatable and define the grid columns in a program. Please help me what`s wrong with this code??? [code] SqlConnection connection; string query; SqlCommand cmd; SqlDataAda ...

0
votes
1 answers

c# app won't open on a different computer

Hi, I made an app which works on my computer but when I try to open the .exe file on a different computer, it won't open. I don't know what I am doing wrong.

0
votes
0 answers

How to Display dates in datagridview on selected month and year

i am using a datagridview in window application c#.net i want to display dates in datagridview cells by datatable (like datetimepicker control) [img]http://asan.netai.net/images/0c641195b274.jpg[/img] thanks

0
votes
2 answers

SQL Server connectionstring

Hi I have a question when doing a winform application which I want to install on another PC. If I have a connectionstring like this "Data source=.\SQL" and the other PC have default setting SQLEXPRESS (mine is sql express ed ...

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 ...

Feedback