Ramy Mahrous 401 Postaholic Featured Poster

@Scott, Can they send the code to review it.
@Serkan, Let's discuss it in Daniweb feedback I think we may deserve it.

Ramy Mahrous 401 Postaholic Featured Poster

You can add different RichTextBox to handle this, and append data to the RichTextBox programtically.

Ramy Mahrous 401 Postaholic Featured Poster

You may have Result Datatable and add to it columns and rows manually.

Ramy Mahrous 401 Postaholic Featured Poster

What I expect is: the service writes something in file and because it doesn't perform any task again it stopped and service should do something while running..

OnStart(...)
{
InfiniteLoop();
}
InfiniteLoop()
{
for(;;)
{
WriteData(filePath, DateTime.Now.ToShortTimeString());
Thread.Stop(10000);
}
}
Ramy Mahrous 401 Postaholic Featured Poster

To allow multiple selection from report parameters check Multi-value

Ramy Mahrous 401 Postaholic Featured Poster

I don't know what's in your mind but have a look on
PagedDataSource Class
Encapsulates the paging-related properties of a data-bound control (such as DataGrid, GridView, DetailsView, and FormView) that allow it to perform paging. This class cannot be inherited.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.pageddatasource.aspx

Ramy Mahrous 401 Postaholic Featured Poster

Define it as Parameter.

Ramy Mahrous 401 Postaholic Featured Poster

Please mention how (programtically) you add these controls to your Custom Control's GroupBox control.

Ramy Mahrous 401 Postaholic Featured Poster

This thread opened since 9-2007 they are now graduated and working ...

Ramy Mahrous 401 Postaholic Featured Poster

Both are not the best way!
1- viewstate not for secure data
2- database not for small objects
Before giving a consulting, ask more questions...

Ramy Mahrous 401 Postaholic Featured Poster

Right now I have no experience, Serkan because it's not related to my work.

Ramy Mahrous 401 Postaholic Featured Poster

Best wishes, Danny

Ramy Mahrous 401 Postaholic Featured Poster

Yes, I did 3 years ago, which means I had experience in GDI+ 1 year ago when this question asked.

Ramy Mahrous 401 Postaholic Featured Poster

Thanks, Serkan :D

Ramy Mahrous 401 Postaholic Featured Poster

And adatapost forgot to say check MSDN.com after welcoming you :p
C#
http://msdn.microsoft.com/en-us/vcsharp/default.aspx
SQL Server
http://msdn.microsoft.com/en-us/sqlserver/default.aspx
For windows application\WPF\WCF
http://windowsclient.net/learn/

Ramy Mahrous 401 Postaholic Featured Poster

Dear AnkitKumar, please don't open more threads on the same question we are here to help but you should first need to help yourself by answering our questions.
- Please change your font
- Please tell us what line crashes with you and what's the error

Ramy Mahrous 401 Postaholic Featured Poster

Right click on the database -> Properties -> Options -> Database Read-Only => False
Tell me how could you attach it?
You can also change it using SMO

Ramy Mahrous 401 Postaholic Featured Poster

You can't for sorry change it!

Ramy Mahrous 401 Postaholic Featured Poster

Is it question?

Ramy Mahrous 401 Postaholic Featured Poster

MSDN says
To specify the allowable range of values for the control, set the Minimum and Maximum properties. Set the Increment value to specify the value to be incremented or decremented to the Value property when the user clicks the up or down arrow buttons. You can increase the speed that the control moves through numbers when the user continuously presses the up or down arrow by setting the Accelerations property.
And from the description I see you'll lose control functionality if you didn't set them. I didn't try it my hand but I'll.

Ramy Mahrous 401 Postaholic Featured Poster

Hey Danny, Serkan...
As I have no experience about GDI+ but I just replace this line R.Inflate(1,1); with R.Inflate(R.Size); I feel the shape changes but I don't know that's you need Danny or not.
Wish for you the best of luck in it and solve it ASAP..

Ramy Mahrous 401 Postaholic Featured Poster

Please wrap your code between code tages [code] your code here... [/code]
Mention the line of code it breaks on

Ramy Mahrous 401 Postaholic Featured Poster

Please open a new thread about it.

Ramy Mahrous 401 Postaholic Featured Poster
string queryString = "SELECT movieID, Наслов, Издавач, Гледан, Година, Type FROM movie,movieType WHERE movietype.typeID = movie.typeID";
//Sure you mean
string queryString = "SELECT movieID, Наслов, Издавач, Гледан, Година, Type FROM movie,movieType WHERE movietype.typeID =" movie.typeID;
Ramy Mahrous 401 Postaholic Featured Poster

Is this statement "SELECT ID, Име, Презиме, Ник, Мобилен, Мобилен2, e-Mail, e-Mail2, Type FROM Table1 WHERE Table1.ID = Table1.ID" valid?

Ramy Mahrous 401 Postaholic Featured Poster

You are welcome :)
Pretty simple just in file new line == \r\n not just \n
Please mark it as solved :)

Ramy Mahrous 401 Postaholic Featured Poster

Try replacing "\t" with "\r\n"

string a = System.IO.File.ReadAllText(@"c:\csnet\a1.txt");
            string b = a.Replace('\t','\r\n');
            System.IO.File.WriteAllText(@"c:\csnet\a2.txt",b);
Ramy Mahrous 401 Postaholic Featured Poster

Try replacing "\t" with "\r\n"

Ramy Mahrous 401 Postaholic Featured Poster
ddanbe commented: You are too kind! +6
Ramy Mahrous 401 Postaholic Featured Poster

It depends?
If it depends on users and secure data -> Session
If it depends on users and not secure data -> Cookies
If it doesn't depend on users -> Cache or Application variables
It just hints and I may be wrong please ask questions related to asp.net in ASP.NET forum http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

Far away the subject, I fall in love with SVN ;)

Ramy Mahrous 401 Postaholic Featured Poster

Nice, mark it as solved then :)

Ramy Mahrous 401 Postaholic Featured Poster

As long as we don't know how CSVDE works with files (try to read in it you may need to write couples of lines of code to let it close the file, hmmm I don't know) I wish for you the best of luck

Ramy Mahrous 401 Postaholic Featured Poster

I recommend you to move to ASP.NET forum http://www.daniweb.com/forums/forum18.html but I've small experience about Telerik controls so, look at: http://msdn.microsoft.com/en-us/library/ms452873.aspx then you then replace controls used in this walkthrough by telerik controls.

Ramy Mahrous 401 Postaholic Featured Poster

And if you have more questions about Localization and Globlaization in web-based application I recommend you to move to ASP.NET forum http://www.daniweb.com/forums/forum18.html

Ramy Mahrous 401 Postaholic Featured Poster

Look; as it's blackbox tool and you don't know how to handle its operations on file, try to do it manually (I think you query on Active Directory) or try to use files created by CSVDE as intermediate stage and read from them and write in another files using System.IO

Ramy Mahrous 401 Postaholic Featured Poster

hmmm, why should I do that, we take salaries based on number of tasks we do neither number of hours nor number of lines of code :D

ddanbe commented: Could not have said it better. +6
Ramy Mahrous 401 Postaholic Featured Poster

I don't understand the question :| adatapost how could you :) I think they need to develop and editor to this file to add\modify\remove some words.

Ramy Mahrous 401 Postaholic Featured Poster

Because isem is empty and each string has null value when you split it it doesn't return an array, and you access its 0 index

Ramy Mahrous 401 Postaholic Featured Poster

What's your application type?!
Why you need to format it before sending?!

Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster

Webservices are made to deliver raw results and to be called from any kind of applications.
Webservices won't need to know if you need string in bla bla bla format. Say; it receives string then does some operations it returns string you can from caller application to format the string which returned from webservice.

Ramy Mahrous 401 Postaholic Featured Poster

To be visible to just parent class.

namespace Example
{
class Parent 
{
void Method()
{
Child c = new Child();//No error
}
class Child
{
}
}
class Painless
{
void Method()
{
Child c = new Child();//error
}
}
}
Ramy Mahrous 401 Postaholic Featured Poster

If they are small files return back to Serkan methodology.

Ramy Mahrous 401 Postaholic Featured Poster

.resx is xml based file, you can develop and editor to edit its values.

Ramy Mahrous 401 Postaholic Featured Poster

In your case I mainly use panels each of which holds some controls.
Next and Previous buttons, Hide\Show Panels with some simple logic increment\decrement Panel index.

Ramy Mahrous 401 Postaholic Featured Poster

Start->All programs->Microsoft SQL Server 2008->SQL Server Business Intelligence Development Studio
Create project from type Report Server Project Wizard.
Follow the wizard and you'll end with nice report.
Any more question you're welcome

Ramy Mahrous 401 Postaholic Featured Poster

@Danny: ooooooooooooooh I posted code, what else :)???!! and they didn't show what they wrote!

@Diamond: Thanks for your kind words.

Ramy Mahrous 401 Postaholic Featured Poster

Scott it should pop up empty message box, I tried that don't give Text or Name it works fine (I used BorderStyle) to see the label. Chrome crashes everytime I upload the proof :)

Ramy Mahrous 401 Postaholic Featured Poster

Debug your code, it's better and it saves more time.