|
What exactly do you mean? Build an SQL query using the value from a TextBox??
--------
"I say no to drugs, but they don't listen."
- Marilyn Manson
|
|
|
|
|
hai guys i want text message to be scrolling on in my form from one end to the other.this is c# windows application. pls give me the solution.
|
|
|
|
|
You could use a timer and at different times, draw the text message at a different location on the form. With a little thought and research into timers and drawing text this should be easy to figure out.
Deus caritas est
|
|
|
|
|
Hi
I’m trying to view a crystal report on web but no luck. I can load the report I just can see it on the browser. Please tell what I’m doing wrong and how to fix it. her is my code:
public Report(string ReportPath, string RepID)
{
string ReportName = string.Format("{0}\\{1}.rpt", ReportPath, RepID);
ReportId = RepID;
myReport.Load(ReportName);
}
public void SetSelection( string RepSelection)
{
myReport.RecordSelectionFormula = RepSelection;
}
public void ExportRepHTML(string ExportingPath)
{
string FullExportingPath = string.Format("{0}\\{1}.htm", ExportingPath, ReportId);
// Declare variables and get the export options.
HTMLFormatOptions HtmlOpt = ExportOptions.CreateHTMLFormatOptions ();
ExportOptions ExpFtmOpt =new ExportOptions();
DiskFileDestinationOptions diskOpts =new DiskFileDestinationOptions();
HtmlOpt.HTMLFileName = FullExportingPath;
HtmlOpt.HTMLBaseFolderName = "D:\\Crystalreports\\Theslectionofreports";
HtmlOpt.HTMLEnableSeparatedPages = true;
HtmlOpt.HTMLHasPageNavigator = true;
// Set the export format.
ExpFtmOpt.ExportFormatOptions = HtmlOpt;
diskOpts.DiskFileName = FullExportingPath;
ExpFtmOpt.ExportFormatType = ExportFormatType.HTML40;
ExpFtmOpt.ExportDestinationType = ExportDestinationType.DiskFile;
ExpFtmOpt.DestinationOptions =diskOpts;
// Export the report.
myReport.Export(ExpFtmOpt);
}
}
}
Thanx
|
|
|
|
|
hi all
How can i access soap protocal over the internet using sql database
Let say i am using web service
I want someone to help me
I need pdfs and code sample or site
|
|
|
|
|
Your question is not clear, please rephrase it.
|
|
|
|
|
let say i am developing a software that work over the internet
let say i am in ghana the server is in london
how can i access the server in london
if am using web service
i think is clear
i need pdfs and some sample code
|
|
|
|
|
Hi,
In my project, i need to read Sanskrit language sentence from the textbox, even i need to do some opearations on words in that sentence.
How can i read a Sanskrit sentense from textbox, pls tell me?..
Its very important for my project
Waiting 4 ur reply
Cheers
Shiva
|
|
|
|
|
Uh. I don't know exactly, but I would first change the Font of the textbox to a font that accepts the symbols (isn't it Devanagari?). With Unicode should be able to save it to a string and then do your work on it.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
Thanks 4 ur reply, i will check and respond 2 u again
Bye
|
|
|
|
|
How can save the string with unicode,...
Can u pls tell me,...
Thnx
Regards
Shiva
|
|
|
|
|
Hi,
Using a function in the datalayer the UI then receives a dataset which populates a control.
There is another function in the DataLayer which accepts a dataset as a parameter. This passed dataset is passed from the UI to this DataLayer.
In this DataLayer function, I would like to look for the changes (i.e. deleted, added, updates) row and then make those changes to the DB accordingly.
I know how to look for the changes but do not know how to compare the received dataset to the dataset that the UI received before the update.
Does this mean that the UI should pass two datasets (one with the changes and one as it was received)?
Thanks
|
|
|
|
|
hi
i want using api functions like WriteProcessMemory .
how to use that with it's own parameters in c# ???
please give me an example ?
|
|
|
|
|
|
hi,
does any one knows how to get all the names of the tables in a access mdb file?
thanks.
|
|
|
|
|
SELECT name FROM MSysObjects WHERE type = 1
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
hi to all,
does anyone knows how can change the backcolor of a statusbar control with c# winforms application
best regards and thanks in advance
fady
|
|
|
|
|
You have to overwrite the paint event and then draw the color onto the graphics object on your own.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
Thanks to your reply Ingo,
how can i fire the paint event ? the statut bar does not have the DrawMode
property to set it to 'Variable draw mode'.
also, i have no paint event for the statusbar !
best regards and thanks in advance
fady
|
|
|
|
|
fady_sayegh wrote: the statut bar does not have the DrawMode
property to set it to 'Variable draw mode'.
also, i have no paint event for the statusbar !
Damn, your right. Well this is a problem. I would derive a new control, but thats a little bit tricky. You have to decide from which class (component, control) and than you must do many things on your own.
You could use the handle to call unmanaged api-functions to do the redraw, but I don't know any C# Code.
Sorry, my fault.
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
|
How can i build a Binary Tree in C#
Pls tell me
Thanks
|
|
|
|
|
There is no binary tree class. You have to implement it on your own or look for a class in the web.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|
|
Hello!
Is there a way to get the desktop dpi in c# ?
I have searched the web, but got no significant informations.
Thanks,
Sovann
|
|
|
|
|
Every Graphics Object has the DpiX, DpiY properties. These allow you to get the dpi of the screen / desktop. Use the Forms Graphics Object to read them.
Greetings,
Ingo
------------------------------
A bug in a Microsoft Product? No! It's not a bug it's an undocumented feature!
|
|
|
|