Forum: C# Feb 22nd, 2007 |
| Replies: 5 Views: 16,236 <asp:SqlDataSource ID="sda_nw1" runat="server" ConnectionString='<%$ ConnectionStrings:NORTHWIND %> '
SelectCommand="SELECT orders.customerid, ContactName, count(OrderID) as numorders FROM... |
Forum: C# Feb 22nd, 2007 |
| Replies: 2 Views: 950 What does your textbook say?
These are pretty classic exam questions... |
Forum: C# Feb 15th, 2007 |
| Replies: 2 Views: 1,251 Using references is like adding things to classpath in java.
Many things are there by default.
The C# equivalent of import is "using".
i.e.
using System.Data;
Like Java classpath and... |
Forum: C# Feb 13th, 2007 |
| Replies: 2 Views: 4,535 You have the close inside the read loop. Move it outside the loop. |
Forum: C# Feb 12th, 2007 |
| Replies: 5 Views: 40,192 row = GridView.SelectedRow;
SelectedRow?
Where are you trying to put that? Unless you make someone first select a row before being able to edit it, it isn't the right thing to use.
In... |
Forum: C# Feb 12th, 2007 |
| Replies: 5 Views: 40,192 Okay, can you elaborate on this?
"I cannot, however, get the GV to Edit/Delete a specific column in any row"
What do you mean by "cannot"? Do you get an error? Does it just not update anything?... |
Forum: C# Feb 12th, 2007 |
| Replies: 5 Views: 40,192 Are you using sqldatasource as you need to be doing for GridView to work properly, or are you trying this the "old" way with sqldataadapters, etc? |
Forum: C# Jan 8th, 2007 |
| Replies: 1 Views: 1,075 if(player1)
{
if (
(str11 == "1" && str12 == "1" && str13 == "1") ||
(str21 == "1" && str22 == "1" && str23 == "1") ||
(str31 == "1" && str32 == "1" && str33 == "1")
)
... |
Forum: C# Jan 3rd, 2007 |
| Replies: 2 Views: 9,425 C# runs on the web server. It would be pretty dangerous for web applications to just be able to just save files on a client machine whenever they wanted.
You can either prompt the user to click a... |
Forum: C# Dec 28th, 2006 |
| Replies: 1 Views: 3,470 This is actually more complicated than you would think, since each type of control has its own attributes and whatnot.
I think this discussion covered it all pretty well.... |