Type: Posts; User: gggram2013
Search took 0.01 seconds.
January 29th, 2008, 11:16 AM
Hey I figured it out. I was missing this:
dataGridView1.DataMember = "Debit";
Thanks a lot!
January 29th, 2008, 11:14 AM
It still doesn't display anything on datagrid...gives no errors...basically I choose all(*) columns from that table and it doesn't display anything
January 29th, 2008, 10:53 AM
My code looks like this:
SqlDataAdapter da = new SqlDataAdapter();
SqlCommand cmd = dbConnection.CreateCommand();
January 25th, 2008, 04:54 PM
Hi mites! no problem, It was a matter of accesing the files. I open sql server 2005 configuration manager, services and in properties in logon I changed network services to local services and it...
January 24th, 2008, 01:59 PM
Error in connection...The ConnectionString property has not been initialized
Hi, I'm using visual studio 2005...
January 23rd, 2008, 03:49 PM
Hey never mind...I solved the problem, thanks for all your input! I ended up using a datagrid, much simpler than trying on a text Box, although it's possible, it'll be too tedious. I have two...
January 23rd, 2008, 03:18 PM
I'm trying to use a datagridview to display the two tables but I get this error:
This constraint cannot be enabled as not all values have corresponding parent values.
My code looks like this:
January 23rd, 2008, 11:36 AM
I'm not quite sure how to apply it,
textBox1.AppendText("GuestFirstName") = dt1.Rows["GuestFirstName"].ToString();
January 23rd, 2008, 11:16 AM
My code for that is very tedious...let me show you.
textBox1.Text = dt1.Rows["GuestFirstName"].ToString();
textBox1.Text += " ";
January 23rd, 2008, 11:11 AM
There's no TextArea control in the toolbox, and yea I have multiple lines but it doesn't skip to the next, let me show u how it looks when i use different textboxes;
January 23rd, 2008, 09:46 AM
Ok I have tested it and I do get all the values...the problem would be when I have hundreds of rows(Sales) which will then be too tedious for me to code in on and on the same thing. Does anyone know...
January 21st, 2008, 03:10 PM
Well all she's really got are those exceptionally large lips. Besides that, she doesn't have hips, or a really nice ***, her breasts may be a little bit too big for her skinny body...but when we...
January 21st, 2008, 11:09 AM
Ok, since i'm not sure how to obtain all values (Select *) I'ved selected all the columns that I really need, my code looks like this:
January 21st, 2008, 10:16 AM
I still get the same error using +=
January 21st, 2008, 09:48 AM
Yea, I'm not sure if that is a correct way to create a parameter where all the values from string Sql will be retrieved into "Details" and then display them on a text box.
January 21st, 2008, 09:43 AM
I have this form below in which I choose a start date and an end date on a dateTimePicker. My code looks like this:
string sSQL = " Select * From Guest g, Sales s Where s.Date >= '" +...
January 17th, 2008, 02:12 PM
Hey well, I don't believe that it's possible for two separate rows to partially join because with the things I need to retrieve it will cause the rows to break...I think it's gonna be very tedious...
January 17th, 2008, 08:47 AM
Ok, thanks for the lesson. i knew there was something I wasn't doing...
January 16th, 2008, 04:09 PM
When i check the design view of the tab control to double-click it so that it automatically goes into the SelectedIndexChanged code it doesn't seem to direct me to the code, it simply does nothing...
January 16th, 2008, 11:57 AM
To Make it clearer, I would like GuestID '129", since it's the same Guest twice, I would like to retrieve the sales part of it together, so that when i print it...it shows the Guest with both sales...
January 16th, 2008, 11:46 AM
Well something like that I would want because basically the Guest information should remain the same, can u show me an example if it were just the Sales table?
January 16th, 2008, 11:00 AM
I have this function in sql server 2005:
ALTER FUNCTION dbo.fnGuestID()
January 15th, 2008, 04:44 PM
(I'm using Visual Studio 2005 with C-Sharp language)
Hi, I wanted to know if anyone can help me out creating a refresh button because i have a form with a tab control...when i do something in tab...
January 15th, 2008, 03:59 PM
Hey I found the reason why it did not want to update! Since i had more than one comboBoxes, it seemed one was making conflict with the combobox for date since they were using the same last name...
January 15th, 2008, 03:42 PM
Nope, it still doesn't update...I'm gonna vary the spaces to see if it does anything
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!