- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
16 Posted Topics
You generate getters and setters for your Taxpayer but you don't declare them public. That's why the compiler can't access them from other classes. Since one can't see the context of your methods besides your for-iterations, I guess that this is the problem.
[QUOTE=Saikalyankumar;1537654]In your code, you have some errors at this line of code [CODE]search.Filter = String.Format[B]("managedby={0})"[/B], userName);[/CODE] Correct it to [CODE]search.Filter = String.Format[B]("managedby={0}")[/B], userName);[/CODE] and try once. See only the Bolded part of the code.[/QUOTE] Sorry but you must be kidding. The Error he corrected is unfortunately an error but the …
First of all, that kind of expressions you formed in text are "regular expressions". [URL="http://www.radsoftware.com.au/articles/regexlearnsyntax.aspx"]RegEx Howto[/URL] Another way would be to take one character left of the string and try to cast it into an int for example. If you get an exception you know it's not a number. Same …
First of all you would have to create a class like "SortThread" deriving from System.Threading.Thread then you would implement the methods from a simple Thread. After that you can start your "SortThread" as a normal thread and work parallel or whatever you want.
- Create a Class named "CarInsurance" - Create variables drivers_age and drivers_stateOfResidence - Create a method in that class with parameters age and stateOfResidence (most likely called "constructor" I guess that should be help enough, because nobody won't solve your homework for you.
First of all your XML should look more like this... [CODE] <Students> <Student id = "a"> <Name>*** </Name> <Age>17 </Age> </Student> <Student id = "b"> <Name>*** </Name> <Age>17</Age> </Student> </Students>[/CODE] ... because Student is the iterating type of Node. The next Part is important. Create yourself an Object named Student! …
You should probably try it with delegation! [url]http://msdn.microsoft.com/de-de/library/system.delegate.aspx[/url] Good luck!
Hey, could you give some more information, about the Visual Studio you're using? The type of project, like is it an ASP.NET Application or a Website? What are you expecting?
Hey, I'm pretty new to this board, but you shouldn't spend money on easy things like introductions. Books should give you a deeper look in special areas! If you had searched on google for the exact keywords you used you would have found this: [url]http://www.codeguru.com/csharp/csharp/cs_data/article.php/c4211[/url] (don't know if cross posting …
Hey, I don't know exactly what you're trying to do. But I tried to understand your code and came up with this: [CODE] public static void Display2() { // just some strings for testing purposes string[] exampleDB = new string[] { "this", "is", "a", "test" }; // indexed List with …
Google would help you with that exact keywords: [url]http://www.dotnetperls.com/sqlconnection[/url] [url]http://www.sql-server-performance.com/articles/dba/stored_procedures_basics_p1.aspx[/url] Good luck, if you have any questions regarding anything you really read by yourself feel free to ask. Noone will give you any code if you're not into it.
You have to explain a little bit more, like what is your input and what shall be your output? What kind of type is your tblGameBindingSource ? A SQL-Datasource? maybe like this? [CODE] string tmp = textBox.Text; string filterString = string.Format("[Platform] LIKE '%{0}%' OR [Game Title] LIKE '%{0}%'",tmp); this.tblGameBindingSource.Filter = …
You won't get free code samples unless you submit something by yourself. Don't let others do your job dude.
Hey, first of all: [CODE] //replace this OleDbDataAdapter daa = new OleDbDataAdapter("SELECT * FROM STUDENT WHERE STUD_ID=" + "'" + comboBox1.Text + "'", conn); // with this String cbxText = comboBox1.Text; if(!String.IsNullOrEmpty) { String strSelect = String.Format("SELECT * FROM STUDENT WHERE STUD_ID='{0}'", comboBox1.Text); OleDbDataAdapter daa = new OleDbDataAdapter(strSelect, conn); } …
Avoiding to open Google cached pages is not possible. They're going over IP's to a mixture or cached data and the actual page. If you want to have something really effective, try Microsoft Forefront Threat Management ([url]http://www.microsoft.com/germany/forefront/default.mspx[/url]) and don't try to write block-code yourself.
Global.asax Application_Start is what you need. You want to use server side code in the server. You're absolutely correct with that idea of a small method looking for data. If there is no data or tables present, create it, or write back an error or redirect to your setup page.
The End.
Wegginho