Search Results

Showing results 1 to 40 of 56
Search took 0.03 seconds.
Search: Posts Made By: Paladine ; Forum: C# and child forums
Forum: C# Apr 11th, 2009
Replies: 4
Views: 761
Posted By Paladine
Basically it comes down to the difference between .Net 2.0 (2005) and .Net 3.5 (2008) Framework. Basically what you code in .Net 2.0 won't work the same if at all with .Net 3.5 framework. But ...
Forum: C# Feb 16th, 2007
Replies: 69
Views: 162,061
Posted By Paladine
This is for ASP.NET 1.0 and 1.1 only, not 2.0 just as an FYI

Table

CREATE TABLE NorthWindUsers
(UserID INT IDENTITY(1,1) NOT NULL,
UserName VARCHAR(50)...
Forum: C# Feb 16th, 2007
Replies: 69
Views: 162,061
Posted By Paladine
Your code with the brackets located above have me a little puzzled. Be sure you can go through each logic path and have a return value!
Forum: C# Dec 14th, 2006
Replies: 4
Views: 4,109
Posted By Paladine
We are more than willing to help, but we don't do the work for you. The idea is that you take the effort to learn for yourself, and when you get stuck or don't understand why something is not...
Forum: C# Oct 31st, 2006
Replies: 69
Views: 162,061
Posted By Paladine
This is the reason, you are using this code which is for ASP.NET 1.1 and NOT ASP.NET 2.0. There are some significant differences between 1.1 and 2.0 framework that makes this code non-functional.
...
Forum: C# Oct 30th, 2006
Replies: 69
Views: 162,061
Posted By Paladine
You have
(int)objReader.GetValue(0) which returns a value, an integer value to begin with so you shouldn't be converting it to int.

The GetValue Method "gets the value of specified column, by...
Forum: C# Jul 3rd, 2006
Replies: 1
Views: 3,427
Posted By Paladine
Let see if this helps...

Try visiting http://www.w3schools.com/sql/default.asp (http://www.w3schools.com/sql/default.asp)

A very free site with good intro tutorial on SQL.

Saying that here...
Forum: C# Jul 3rd, 2006
Replies: 4
Views: 6,146
Posted By Paladine
No problem at all.

Glad I could help and you got it working!
Forum: C# Jul 2nd, 2006
Replies: 4
Views: 6,146
Posted By Paladine
The reason it is Null is this :


dsExcel.Clear();

You are clearing the Dataset, i.e. making it empty, and then updating it. That is why it would read NULL

Example of SQLCommandBuilder
Forum: C# Jun 3rd, 2006
Replies: 5
Views: 5,593
Posted By Paladine
SQL Connections string

Network Library=DBMSSOCN;Data Source=192.168.90.10,1433;database=Northwind;User id=;Password=;
Forum: C# Dec 30th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
I am sorry awaw, but I dont understand what you mean?

What is the problem you are having with using the Session Object? Stored Procedure?

FYI

Table code:

CREATE TABLE NorthWindUsers
...
Forum: C# Dec 2nd, 2005
Replies: 69
Views: 162,061
Posted By Paladine
No problem.

I do indicate how to do this in the related tutorials described at the beginning of this tutorial in detail:

This can be done with a session object or a cookie

See here for...
Forum: C# Dec 2nd, 2005
Replies: 69
Views: 162,061
Posted By Paladine
I am sorry I can't attach the file. SQL doesn't use any file (except a script to generate the table / stored procedures) that I can attach and send to you. It is not like an access mdb file.
...
Forum: C# Dec 2nd, 2005
Replies: 69
Views: 162,061
Posted By Paladine
Also one thing to note. I would avoid using LIKE as you will can have the chance of a guess working for the login, or even more likely to have multiple records.

A login should grab one, and...
Forum: C# Dec 2nd, 2005
Replies: 69
Views: 162,061
Posted By Paladine
The start of the tutorial states where to find the basis on which this tutorial is built.

But here is the original Stored Procedure:

CREATE PROCEDURE sp_ValidateUser /* How it would appear...
Forum: C# Nov 25th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
Are you using Visual Studio or Web Matrix?

If you are using Visual Studio, have you stepped though the code?

Comment out the Invalid Login portion of the code and see what error message you are...
Forum: C# Nov 20th, 2005
Replies: 2
Views: 1,794
Posted By Paladine
I have a few times. It can depend on many things, but often it depends on the how you setup your SQL scripts.
Forum: C# Sep 27th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
Hmm, I would check the security settings on your Access DB.

I can't see anything wrong with the code... hmm

I will look into it again tomorrow!
Forum: C# Sep 26th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
OK a don't see anything wrong with your code, what version of SQL server are you using? Microsoft Recommends that if you have version 7.0 or later (includes MSDE) the SqlClient should be used. ...
Forum: C# Sep 4th, 2005
Replies: 3
Views: 3,767
Posted By Paladine
Hey sounds good.

My prayers are with you.
Forum: C# Sep 4th, 2005
Replies: 3
Views: 3,767
Posted By Paladine
provide code with respect to the issue, and we may be able to help!
Forum: C# Sep 2nd, 2005
Replies: 1
Views: 7,767
Posted By Paladine
If you are importing a CSV into SQL server it will remove the quotation marks for you. Use Enterprise manager in SQL Server to import the CSV file as data and you should be fine.

If you...
Forum: C# Aug 15th, 2005
Replies: 3
Views: 4,181
Posted By Paladine
Look into the tutorials here at Daniweb. What you are trying to do I have shown in many tutorials.
Forum: C# Aug 12th, 2005
Replies: 1
Views: 2,083
Posted By Paladine
Well when you installed it, was there not a prompt saying how many connections? My memory on it is limited, been awhile since I played around with this application.

Here are some links to read up...
Forum: C# Aug 12th, 2005
Replies: 6
Views: 4,541
Posted By Paladine
Ok, what you need to do is step back and relax. You are trying to do too much at once, and not getting any real understanding and logic before proceeding.

Logical Process to Developing an...
Forum: C# Aug 11th, 2005
Replies: 6
Views: 4,541
Posted By Paladine
Well ok, SQL 2005 Server Express is a good starting point. You could use Access, MySQL, or Oracle as other possible databases. Depends on your knowledge and experience. Knowing the differences...
Forum: C# Jul 30th, 2005
Replies: 1
Views: 29,236
Posted By Paladine
So you set the BackColor to Transparent and how is it that it doesn't work? Transparent label will appear as the same color as you form control it is placed on. The color of the form comes through...
Forum: C# Jul 24th, 2005
Replies: 8
Views: 4,918
Posted By Paladine
The start of what I have.... working on it when I have time...

Code so far

public class Vehicle : FuelTank
{
private int m_VehID;
private string m_Desc;
private int m_Odometer;...
Forum: C# Jul 21st, 2005
Replies: 8
Views: 4,918
Posted By Paladine
Cool. I am off in an hour and have a long weekend for doing home reno's. I will work on this with you over the weekend... sound good? I have no development apps here at work, so I will help you...
Forum: C# Jul 21st, 2005
Replies: 8
Views: 4,918
Posted By Paladine
Hmm, this sounds like fun. :) Lucky you.

I would love to see the code for the console & / or pseudo-code you have for the windows side. From there we can use that as a basis to create a windows...
Forum: C# Jul 21st, 2005
Replies: 1
Views: 10,239
Posted By Paladine
If you are using a SELECT statement, which I would assume you are, just add an ORDER BY clause to that statement and voila.
Forum: C# Jul 19th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
Ok, my bad. Sorry about that. See... even I goof on copy paste. Hehe. But that doesn't excuse you... :) :) :) See, you should understand what you are copying and pasting. :lol: :lol:
...
Forum: C# Jul 19th, 2005
Replies: 69
Views: 162,061
Posted By Paladine
Are those lines in web.confg? Using system; should not be in the Web.Config file.

Remove that using system line

Provide some of the code giving you the issue.

Thanks
Forum: C# Jul 19th, 2005
Replies: 1
Solved: sound in C#
Views: 13,641
Posted By Paladine
Daniweb has loads of resources. You should check out the search ability on here, or look in the Code Snippets Section or Tutorial Sections for help before posting.

Here is your answer : LINK...
Forum: C# Jul 18th, 2005
Replies: 1
Views: 2,799
Posted By Paladine
Answer found here! (http://www.daniweb.com/techtalkforums/thread28325.html)
Forum: C# Jul 18th, 2005
Replies: 2
Views: 1,733
Posted By Paladine
Are you building this in Visual Studio then? You would use the Menu Creator/Editor in Visual Studio.

Also here is how to create menu's at runtime as opposed to design time!

LINK...
Forum: C# Jul 18th, 2005
Replies: 2
Views: 2,902
Posted By Paladine
You asked in another posting why people don't answer your questions. I replied to that, but i will also add this. Not providing us with information as to what you have tried, makes us wonder if...
Forum: C# Jul 18th, 2005
Replies: 1
Views: 2,290
Posted By Paladine
Ok, well posting messages like this:




Make it kind of hard. Why? you have not provided any details of what you are trying to do are a little vauge. This question is only a little vague...
Forum: C# Jul 16th, 2005
Replies: 8
Views: 5,423
Posted By Paladine
Well unfortunately it is not a simple better or worse. It depends on what you are doing / requiring.

From a distribution standpoint, and relatively small scale, the Access DB is far easier. ...
Forum: C# Jul 13th, 2005
Replies: 8
Views: 5,423
Posted By Paladine
All correct, but closing the connection does just that...close the connection. It does nothing with DML (Data Manipluation Language) i.e. Update, Insert, etc.

In the process you mentioned it...
Showing results 1 to 40 of 56

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC