blah blah blah is here! blah blah » Close

0
votes
0 answers

Web browser and Context menu strip problems

q12
349

In a webControl, when the mouse cursor is "Hand" (usually over links,images), I want a custom contextMenu to be on or off. I tried to make something but is not working [b][the ContextMenuStrip is always showing,when I right click] ...

0
votes
1 answers

why we override ToString()

Hi, I have seen in couple of places the code where ToString() method has been overriden. Like : class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public i ...

0
votes
1 answers

classes example in C# language

Hi friends I am learning C# language online and came across this question Code Exercise: Cola Machine Please use the language of your choice to model a simple cola machine. Within the cola machine, please create classes for the ...

0
votes
1 answers

Timer/SLQ Job

We have a request tracking system where system automatically takes the action like closing, abandon, escalate the request after certain duration. How to automate the actions?

0
votes
0 answers

Web Services Questions in ASP.NET

I'm new to web services in ASP.NET. Been trying to get my head around it recently. Here are my questions. 1. The Web Service item (.asmx that you can add to your project in Visual Studio), does that only generate an XML service (generate ...

0
votes
1 answers

.

.

0
votes
1 answers

Back up mysql database using c#.

Hi, I want to back up mysql database using c sharp and I found following code on google. But it is not giving me whole database back up,instead it show following output. [code] /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SE ...

0
votes
1 answers

filestreaming with SQL Server 2008 R2 and visual Studio 2010 Professional

Hi, I'm trying to use filestreaming (SQL 2008) with Visual Studio 2008 to load a file into a folder. I have a window that allows the user to select the file he wants to load into a SQL Server table called Available_files and then my code l ...

0
votes
1 answers

Having strange letter in my listview

[b]Hi when inserting values from my textboxes i get strange letter.[/b] I have two forms Form1 & Form2 when inserting values from textboxes in Form2 into Form1 i get letter like this "[[ ]][" and it's really annoying ...

0
votes
1 answers

read and compare files column wise

I have 5 text file like : FILE1 A B C D 2 3 4 NULL 13 20 3 7 23 NULL 0 3 FILE2 B D C A 20 3 0 1 3 0 20 NULL NULL 2 1 13 WHAT I WANT TO DO IS 1- READ COLUMN HEADER FROM FILE1 ...

0
votes
1 answers

Date time picker return value

[code]DateTime BirhtDate = dtBirthDate.Value.Date;[/code] in the statement i'm trying to get the date from DateTimePicker in win app and pass it to a sql statement to be inter to database, but actually i'm getting the following : [c ...

0
votes
1 answers

comparing database tables

I need to compare two database tables t1 and t2 column by column here is my idea about that : For (int i= 0 ;i<= number of column in t1;i++) { Read columni For (int j= 0 ;j<= number of column in t2;i++) ...

0
votes
1 answers

Getting three random different numbers

i'm trying to get three different images chosen randomly from a directory, i got one, but i need to subtract the one i got from the possible outcome for the remaining to get the second and the same way for the third.. var ...

0
votes
1 answers

programatically press tab in webbrowser control C#

I want to press tab key programatically. i used this code private void BrowserPage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { webBrowser.Select(); ...

0
votes
1 answers

Best ways to start unit testing?

What are your suggestions for some of the best ways to start unit testing? Automated framework, TDD, manual tests? What's your experience been? I saw this webinar and wanted to share it http://bitly.com/w3botS

Feedback