| |
thread by: =?Utf-8?B?dG9iaXdhbl9rZW5vYmk=?= |
last post Jun 27 '08 by: =?Utf-8?B?dG9iaXdhbl9rZW5vYmk=?=
The following code is in a custom deserializer:
object value = (int) 1;
string nameToParse = Enum.GetName(field.FieldType, value);
value = Enum.Parse(field.FieldType, nameToParse);
Currently we follow the path below:
intValue --enum name --enum value
|
thread by: Durango2008 |
last post Jun 27 '08 by: Durango2008
Hi, I am trying to display data from a database on to the website in a table
format using Gridview.
The problem is that each cell contains alot of data and so, when I try to
show this in the gridview the cells get stretched too large to show it
properly on the page.
One idea I had to remedy this is to have the data "cutoff" at a certain...
|
thread by: ersin CEYLAN |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
hi i want to read crystal report documents in c#.I have a lot of .rpt files but now i must export them to rtf or html the best way is i think html.. But i must do this with repots' variables and which column will be write to this area...
my problem is that i must get the document in a web browser and then user can see the doc in browser...
|
thread by: =?Utf-8?B?U2hhd24=?= |
last post Jun 27 '08 by: sloan
Hi;
I would like to be able to use the XMLSerializer to serialize and
deserialize a dictionary. is that possible? i know that you can serialize an
object that implements the ICollection interface. does the fact that
Dictionary inherits from ICollection<cause a problem?
Currently i am using a class that inherits from ICollection and it has a...
|
thread by: Wendi Turner |
last post Jun 27 '08 by: Wendi Turner
ASP.NET 2.0 C# WebService Connect to Database: Sql Server 2005
---------------------------------------------------------------------------------------------------
I have successfully created a webservice in ASP.NET 2.0 C# with VS
2005 & VS 2008, however, i can find nothing - books or otherwise to
help with the webservice connection to the...
|
thread by: =?Utf-8?B?b21lcmQ=?= |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hello.
I installed Visual Studio 2005 express editon and i can't open any
file
I got an eroor message like access to that path denied and the operation
coult not be completed.
-i am using encrypt content of files option
|
thread by: Marco Pais |
last post Jun 27 '08 by: Greg
Hi there.
I am trying to find th best way (best UI control) to present hierarchical
data, nested tables. For example, I have a Employees table (id, name) and
EmployeesSales (id, idEmp, description, value).
I want to show this in an hierarchical mode, so I tried DataGrid control.
However, as I read somewhere, this DataGrid can only show one...
|
| |
thread by: Danny Ni |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi,
I have the following on an aspx page:
<asp:RadioButton ID="RadioButton1" runat="server" cssclass="radio"
Text="Radio 1"/>
This render as:
<span class="radio"><input id="RadioButton1" type="radio"
name="RadioButton1" value="RadioButton1" /></span>
|
thread by: Andy |
last post Jun 27 '08 by: Andy
Hi,
I'm trying to begin a new application in Wpf, and I'm trying to do
some similar things to what I have been in Wpf.
For example, in WinForms I have a base BusinessEditForm class. This
overrides OnClosing, which checks the CloseReason. If the reason is
anything other than ApplicationExit, I prompt the user if they would
like to save...
|
thread by: =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?= |
last post Jun 27 '08 by: parez
Hi,
I have just started building an application which is windows form based,
rather than web based, and I am having troubles with layout.
I can't find any control which gives me just a simple text list! There is
ListView, but that gives me very strange spacing, perhaps because it is
trying to put in icons? There are Flow and Table layout...
|
thread by: sklett |
last post Jun 27 '08 by: sklett
I need to bang out a quick application to extract CCITT compressed TIF
images from a ton of PDFs. I've used PDFSharp in the past to work with PDFs
but ti doesn't have support for the PDF /CCITTFaxDecode filter.
I've googled for the obvious terms to try to find some code samples or
information about how to accomplish what I want but haven't...
|
thread by: Sin Jeong-hun |
last post Jun 27 '08 by: Alvin Bruney [ASP.NET MVP]
It seems like the Protect() uses the Windows accout information to
encrypt data. If I know the user name and the password, can I decrypt
it on another PC? If it is not, how about the exported key? On Windows
Vista, if file encryption is used, Windows suggests to back up the
key. If I import the key on another PC, then can I decrypt a data...
|
thread by: Rahul |
last post Jun 27 '08 by: Peter Duniho
Hello,
I am trying to compile a Windows Forms project through command line. I
have added some images on the buttons. These images are added as a
resource and stored in the "Resource" directory inside the project
directory. My project is quite small, (only a single form).
I tried running csc in the same folder as my source files using...
|
thread by: Cdude |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
1 public void AddItem(string itemCode)
2 {
3 DataRow itemRow = DBAdmin.Products.Select("Code =
'"+itemCode+"'");
4 addItemRow = itemRow.ToString();
5 addItemRow = itemRow
.ToString();
6 addItemRow = itemRow.ToString();
7 addItemRow = 1;
8 addItemRow = 2;
|
thread by: connectpalm03-forum |
last post Jun 27 '08 by: connectpalm03-forum
I have a class named (MyClassA) in ControlClasses.dll and was able to
serialize it to database. Like below
SaveTo(MemoryStream stream)
{
IFormatter formatter = new BinaryFormatter();
formatter.Serialize(stream, this);
}
|
| |
thread by: =?Utf-8?B?TFBldGVy?= |
last post Jun 27 '08 by: =?Utf-8?B?TFBldGVy?=
Hi,
I often wrote my constants in C/C++ in the following form:
#define FOURCC(c0, c1, c2, c3) ( ((DWORD)(c0)) | ((DWORD)(c1) << 8) |
((DWORD)(c2) << 16) | ((DWORD)(c3) << 24) )
#define CONST_A FOURCC('A','B','C','D') // A-tag: "ABCD"
#define CONST_B FOURCC('E','F','G','H') // B-tag: "EFGH"
|
thread by: Jarppi |
last post Jun 27 '08 by: Jarppi
Hi All,
I'm struggling with this, I've googled it to death but can't find any
solution. So at the moment I'm thinking that what I want to do is not
possible.
It's pretty basic, I want to authenticate a user logging into a
windows application - against the domain. Seems like a simple enough
request, but hell...can't get any info on how to...
|
thread by: ad |
last post Jun 27 '08 by: ad
Hi,
How can I unstall a applicaiton with c#
|
thread by: shipra |
last post Jun 27 '08 by: shipra
I have more that 150 submenu item and get a Scroll
can i manage the speed of the scroll, as it is too slow
|
thread by: Aneesh Pulukkul [http://dotnet-revolutions.blogspo |
last post Jun 27 '08 by: Aneesh Pulukkul [http://dotnet-revolutions.blogspo
I have a requirement- need to display RTF content in context menu. I
am able to host a rich textbox in a contextmenu strip using
ToolStripControlHost class. But assigning some RTF content to the
containing rich textbox control does not display in actual RTF
format- it just dislpays as plain text. Here's the code am using:
//Custom...
|
thread by: Andrus |
last post Jun 27 '08 by: Andrus
I need compile in-memory assembly which references to other in-memory
assembly.
Compiling second assembly fails with error
Line: 0 - Metadata file 'eed7li9m, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' could not be found
Saving assembly to Windows temp directory for referencing only creates huge
amout of temporary
|
thread by: shark |
last post Jun 27 '08 by: shark
Hi.
I'm dealing with scenario when call to any web method ends up with timeout
and I try to add the user a chance to retry (wait a little bit)
My service proxy code looks like this:
AsyncCallback cb = new AsyncCallback(ServiceCallback);
IAsyncResult result1 = BeginInvoke(methodName, parameters, cb, this);
if(result1.IsCompleted == false)...
|
thread by: Tem |
last post Jun 27 '08 by: Tem
Thanks for all your responses. I see why c# is such a powerful language and
starting to like it more and more.
I also need help sorting this nested list. It is a little tricky. not sure
where to start.
I was thinking about creating a mapper for the nested lists.
List<stringstringList = new List<string>();
List<List<int>intLists = new...
|
| |
thread by: Tem |
last post Jun 27 '08 by: Tem
When I tried to add new items to a copied list, it affects both lists.
List<intintList1 = new List<int>();
List<intintList2 = new List<int>();
intList1.Add(1);
intList2 = intList1;
intList2.Add(2);
how i can simply copy the data not reference the original list. this is very
|
thread by: Thom Little |
last post Jun 27 '08 by: Thom Little
Using C# 3.5 ... I want to set the printer options and maintain them from
one use of the form to another.
I can get the dialog with defaults using WebBrowser.ShowPageSetupDialog( )
Can you point me to an example where values in the dialog are saved and set
programmatically?
... Thom
___________________________________________________
|