blah blah blah is here! blah blah » Close

0
votes
1 answers

How to wait for a databound dropdown to load?

Thanks for taking the time to read this. I am sure this answer is out there a million times, but I can't seem to even "look it up" correctly. I am using a dropdown list that is populated from the DB using databinding -- it's a l ...

0
votes
1 answers

User Control - Form As Property

Pls Help I have Created a usercontrol with Form Property but when I use it in design and change the property I can only see the current form where the control is Place. Is there a way for my form property to show all the form available ...

0
votes
1 answers

C# different image compare

HI, i can not find, method witch would be fast and can comare different size pictures. For example I have one image "full" and another image only part of first image. Can someone help, what algorithm i should use?

0
votes
1 answers

Select and delete in DataGrid

Ok, two more DataGridView-related question: 1. How can i select all row by clicking on only one cell 2. How can i delete a row for the datagridview ?(knowing that i get data from a dataset). Thank you!

0
votes
1 answers

only one instance of a scriptmanager can be added to the page.

If I delete the script manager off my login.aspx page, it completely stops functioning. If I delete the script manager off my .master page then I'm going to have a lot of other problems too. Is there a remedy for this? fraction of master p ...

0
votes
1 answers

Search in DataGrid

Hello Guys, i would like to know how can i make a search option for a datagrid view. I was thinking of highlighting the proper cell if it contains what i wrote in the text box, but i don't know how, any ideas? Thank you!

0
votes
1 answers

Embedding images on a WIndows form and controlling it with Checkbox Controls

Hey Guys! I wish to embed an image of one central board, and 4 smaller boards connected to the central one. Then i wish to control this image, i.e. when i select "board 1" using a checkbox, i want that board to get highlighted, i ...

0
votes
1 answers

nullable strings

If I have nullable floats and check that the variable is not null then I can cast and pass them to methods that do not take nullables. This works fine for float, DateTime and other types. Example: int? x; if (x != null) FooBar((int)x ...

0
votes
1 answers

how smart is the optimizer?

Would C# be smart enough to know that there is no need to call ToString and Trim twice each? if (Utilities.IsDouble(myRange.Value2.ToString().Trim())) dps = Convert.ToSingle(myRange.Value2.ToString().Trim());

0
votes
1 answers

How static link C# library to my C# program? OR how set reference to link statically instead of dynamically? Please tell me .Net supports static libraries and that it's easy!

Background: I have two C# projects, "A" and "L." L is a library that the A project references. Everything is fine except when I distribute A I have to include the L.dll file, too. I was hoping I could go my A project ...

0
votes
1 answers

Diacriet replace unwanted characters

I'm trying te replace unwanted characters (diacrieten in Dutch) by wanted characters. By example ö should become o and Ž by Z. I have tried numerous things, FileStream, StreamReader, StreamWriter. I found a way to read an write the ...

0
votes
1 answers

Need a C# program

Hi I am solving the problem specified below. Can someone please give the solution for this..? Write a program to define a class vehicle and a class engine. Let the vehicle class contain Engine. The engine should be started at source and st ...

0
votes
1 answers

System.TypeInitializationException was unhandled by user code ERROR please help

I am busy with an e-commerce web application using visual studio 2005 and IIS 7 I got this error System.TypeInitializationException was unhandled by user code Message="The type initializer for 'ShopConfiguration' threw an exceptio ...

0
votes
1 answers

Exceptions in a ForEach loop

I am writing a tool that traverses an entire drive's filesystem and does some statistical and other analysis on it. The problem I'm running into is this: I wrote a recursive function to process a directory. The function calls itself to pr ...

0
votes
1 answers

accessing soap request

Hi Somebody sending me the Soap request to my server how to i capture this request do i need to write swebservice or any aspx page. If i need to write webservice how can i capture the soap message. To i need to create webmethod or SopaM ...

Feedback