Have you considered using Delegates?
I will use Google before asking dumb questions
Have you considered using Delegates?
I will use Google before asking dumb questions
Thanks a lot. Cheers. It works just fine. 5 from me
I will use Google before asking dumb questions
Hey, Thanks for the reply. I have tried a data list, but to be sincerely I don't know how to filter the data based on the month. Can you give me a small example? Thanks
I will use Google before asking dumb questions
Hy, I hope this is the place where to post my problem. I didn't see a specialized forum for Sql Reporting Services. So here goes. I have to create a report, rdl file. The report shows a few statistics for a period of time. I passed, the parameters, showed the data, everything. Now the only thing left is to modify the report to show the statistics for one month on a page. To give an example: I want to see the statistics from 1st of march to the 21st of april. The report should have 2 pages: a page for the month of march and one page with statistics from 1st of april to the 21st. I tried google, MSDN, and stil couldn't find a solution to this problem. Any hint is welcomed. Thanks PS: I'm using SQL Server 2005 and VS 2003
I will use Google before asking dumb questions
modified on Monday, March 10, 2008 8:59 AM
string str = "ABC-X-Y-Z";
int index = str.IndexOf("-");
str = String.Format("{0}{1}{2}", str.Substring(0, index), ".", str.Substring(index + 1, str.Length - index - 1));
Hope it helps.
I will use Google before asking dumb questions
Have you considered calling the method that handles the Click event?
I will use Google before asking dumb questions
This depends on the type of application you want to write. It's a good practice to minimize the queries to a database when you write a web application. But still, my opinion is that it's not a good practice to read all the data from the database into a dataset. What happens when you have around 50-60 tables and each table has 50.000 or more rows. In this case you do a huge waste of memory. I think it's better practice to save into a dataset all the data needed at a certain time. This is my opinion.
I will use Google before asking dumb questions
mohandesmehran wrote:
there is many program that show source code in dll file. But I know you can do something to privent them to see your source code in dll file
Try obfuscating the dll file.
mohandesmehran wrote:
I cant see my comment when I create an instance of a class when I use dll file instead of source code
What comment don't you see? The summary of the method?
I will use Google before asking dumb questions
If you have looked carefully at the type returned by the Now property, you might have seen that it's a DateTime object, which has properties and methods. So if you want to create a property that "has methods" you just need to create a property that returns an object that has other properties and methods. Hope it helps.
I will use Google before asking dumb questions
Are there any values in the dataset. Your query might fail and in the dataset there are no tables...thus generating an error.
I will use Google before asking dumb questions
This cannot be real....Read the error, it tells you exactly what's wrong. You misspelled the property. There is an extra "t". What you wrote
ProjectidList.DatatValueField = "Project_ID";
What you should have written:
ProjectidList.DataValueField = "Project_ID";
I will use Google before asking dumb questions
Nice one...5 from me
I will use Google before asking dumb questions
You can create a public method in the second form, let's say BindData(). After you call the second's form constructor in button1_Click event, you call that method before showing the second form. Like this:
update frm = new update(txtSearch.Text );
frm.BindData();
frm.Show();
Make sure that the BindData method is the one that binds the gridview and the textboxes to the database according with the text the form received in it's constructor. Hope it helps.
I will use Google before asking dumb questions
A progress bar changes it's value when you change the value in code. So you add at the button click event code to change the progress bar's value. Hope it helps.
I will use Google before asking dumb questions
where is button1 and btnUpdate? You wrote that the whole code is placed in the second form...you got me confused.
I will use Google before asking dumb questions
You have posted the same question several times before. I gave you a link, and several hints. I told you to look into MSDN at the Socket class...you have examples there. There were others that gave you hints and code to get started. If you cannot even start a project with all the help you got, then, as Pete said you should try a career review before it's not too late.
I will use Google before asking dumb questions
Your problem might be the databinding...see where it's done...Maybe we could help you better if you would post some of your code.
I will use Google before asking dumb questions
Process.Start(@"RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\10\00\Intel32\Ctor.dll,LaunchSetup \"C:\Program Files\InstallShield Installation Information\{F0A37341-D692-11D4-A984-009027EC0A9C}\SETUP.exe\" -l0x9 -removeonly");
Hope it helps.
I will use Google before asking dumb questions
csanda1 wrote:
Id like source code to do that
Well this is not nice to say around here. Tell us what you tried, and what it's not working and then you'll get some help.
I will use Google before asking dumb questions
What is the question here?
I will use Google before asking dumb questions