User Profile
Collapse
Profile Sidebar
Collapse

Christopher Nigro
Last Activity: Jul 16 '10, 02:25 PM
Joined: Jul 6 '10
Location:
-
Christopher Nigro replied to how to alter values in access database table using C# without adding new rows?in C SharpInstead of creating a new row via NewRow(), you need to update a particular row. How do you know which row(s) need to be updated? Are the new values coming from user input in the UI or are you updating rows programatically where the rows fit some predefined criteria? Basically, you need to tell me which rows need to be updated before I can understand what you are trying to accomplish. -
Did you verify that the instance name from the SQL server that you are trying to connect to was the same as the name you entered? In the Server Name list, click <browse for more> and see if it shows up. Is the SQL Server in your environment/domain?Leave a comment:
-
Please show what you tried. I ran a simple test and it worked for me.Leave a comment:
-
Christopher Nigro replied to how to alter values in access database table using C# without adding new rows?in C SharpPlease show what you tried and clarify how it "does not work".Leave a comment:
-
Christopher Nigro replied to Degree: which? -- "Computing (Software and Systems)" vs "Web Systems Development"in CareerI know this is an old post but since I am reading now, I can assume others will too. There are similar posts that are more recent and this type of question can be found in every development forum you come across.
Here are my two cents - I have an Associate’s Degree from DeVry. My program was Computer Information Systems. Back then, the program consisted of nothing more than an intro to VB5, an intro to C++, some PowerBulder and...Leave a comment:
-
Christopher Nigro replied to Type of conditional expression cannot be determined because there is no implicit convin C SharpNo one caqn help you unless you show your code. Otherwise, it means exactly what it says.Leave a comment:
-
Hey Doug,
Like we talked about - you cannot use ADO.NET to work with that file: the file is not tabular. It is not in a format that can yeild columns and rows. Just because there are a bunch of commas in there doesn't mean that it is a proper CSV file. To understand this, try to open that file in Excel. You will not get a structure that is similiar to a database table. When you previously asked "can I use a DataTable", I...Leave a comment:
-
-
When you say "Connect", do you mean connect from Management Studio or do you mean connect programatically with some sort of connection object in code?
From Management Studio, you just choose Connect\Databas e Engine from the Object Explorer and enter in the server name and authentication mode/credentials.
If you are talking about a connection object, you should post in the forum related to your platform.Leave a comment:
-
Here is some code to illustrate some things you can do with the TimeZoneInfo class in .NET 3.5 (sorry, it is in C# but simple enough to convert):
Code:TimeZoneInfo tziGB = TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time"); string locVal = "7/15/2010"; DateTime usTime = DateTime.Parse(locVal); DateTime sProgStart = TimeZoneInfo.ConvertTime(usTime,
Leave a comment:
-
Look at the rendered HTML by viewing the source of the page in the browser. Locate your textbox. I am guessing that the ID is not 'TextBox1', correct? If it isn't, you can do one of two things:
1. Use the ID that is generated by the .NET runtime. This isn't the best approach: if the structure of your page changes over time, the ID may also change.
2. Use this in your javascript code:
Code:if(document.getElementById('<%=TextBox1.ClientID%>').value=="")
Leave a comment:
-
Basically:
Code:public partial class Form1 : Form { public Form1() { InitializeComponent(); this.textBox1.KeyUp += new KeyEventHandler(textBox1_KeyUp); } void textBox1_KeyUp(object sender, KeyEventArgs e) { textBox2.Text = textBox1.Text; } }
Leave a comment:
-
-
You do not have to manually close the session after a user is idel for n seconds. You just set the session timeout to the desired time and ASP.NET closes the session when that time is exceeded. You can set the session timeout in web.config.Leave a comment:
-
-
-
Right, so of course the string "100" is less than the string "2". You need to cast those values in the comparison. You also need to filter out those "N\A" values. I do not know if you developed the DB but in the future, use numeric types where appropriate to avoid situations like this. Is "N/A" really "required" to be input into the table? I don't think that would ever be a valid business or functional...Leave a comment:
-
What is the type of all the Price_Band_X columns? It looks like they are text types instead of numeric types.Leave a comment:
No activity results to display
Show More
Leave a comment: