Using C# & Java Script
I have the link like this
"http://localhost/Server/Vehicle/Vehicle.aspx?appid=5", when i use this link the page is opening... But i want to get this appid value, then pass this appid value to another link
In the above link appid value is 5
For Example
Link1 http://localhost/Server/Vehicle/Vehicle.aspx?appid=...
I have Googled and found multiple ways of adding multiple icons into the executable, but they all seem to work for VS 2003-2005-2008, nothing for VS2010. I have not tried the Win32 resource with /win32res because I do not know how to use it (can't figure to get a good Google result for that either).
Any simple suggestion? Thanks in adva...
Am working on smartphone application. And Developing through Emulator (USA Windows Mobile 5.0 Pocket PC R2 Emulator).
But after Cradle Windows Mobile Device Center does not connect with Emulator. But it was connecting three days ago. After that I do not know why its not connecting...
Its get connected with device but not with emulato...
Hi,
I have a user control with a textbox in a win forms application.
I would like to change the property of that textbox using the properties window of visual studio .
I am using that control in various forms of same project ,is it possible?
I have set the modifier property of text box as public and set following property in the user con...
This question is asked in Technical interview. I was asked to list controls which will display same way in all browsers(IE, Safari, FirFox) without any problems(rendering, positioning.. etc.)
...
Hello guys,
can Log method of class A get to know who calls it ?
class A
{
public void Log(string msg)
{
Log.Write("method_name: " + msg);
}
}
I want to know a name of class and a name of a method.
...
Hi.
How can i change system culture that affects all pages(programmatically)?
i saw this thread.
but i want to change culture in my Login page with this codes.
protected void btnChangeLanguage(object sender, EventArgs e)
{
Thread.CurrentThread.CurrentCulture = new CultureInfo("es");
Thread.CurrentThread.CurrentUICulture = new C...
I am converting the .vcproj from VS2005 to VS2010 but after converting it is giving the below mentioned error.
Additional information: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.Additional information: Mixed mode assembl...
As part of my build process in MSBuild 4.0, I end up with the following directory structure:
\OutDir
\ProjectA
\File1.dll
\File2.dll
\File3.exe
\ProjectB
\Subfolder1
File4.html
\File5.dll
\File6.dll
\File7.exe
\ProjectC
\File8.dll
\File9.exe
I want to ...
Hi.
I did Override InitializeCulture in base page.
Protected Overrides Sub InitializeCulture()
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("Fa-IR")
Thread.CurrentThread.CurrentUICulture = New CultureInfo("Fa-IR")
MyBase.InitializeCulture()
End Sub
but still my culture is english united state .
a...
hi, i have an datatable like this.
i have an excel sheet like this. now i am reading the data from that and converting into an datatable like this
id Name MailID Body
123 kirna [email protected] happy birthday
234 ram [email protected] happy birthday
345 anu [email protected] how...
Hello
I am making a proof of concept-application that maybe one day will be a source of income.
The data-flows dictates that have to be a client - server app, information is shared between clients and should be persisted.
I have experience of writing stand-alone apps, I have modelled the app and have written the client. The communica...
I have 2 different assemblies with the same name I need to add to my project.
When I try to add both references to the project, visual studio tells me the assembly is already referenced (because there is already an assembly with the same name).
I tried renaming one of the files. I could add both references but then, when accessing meth...
I just noticed that the IWindsorContainer interface in Castle Windsor includes Dispose().
None of the CastleWindsor tutorials I have seen (e.g. http://dotnetslackers.com/articles/designpatterns/InversionOfControlAndDependencyInjectionWithCastleWindsorContainerPart1.aspx and http://wiki.bittercoder.com/ContainerTutorials.ashx) declare th...
Hi, I need to create some roles (I don't know how to call it correctly, so I'll name it 'role :)) on SQL Server and Oracle, and I really don't know much about both DB servers, so I don't know what I should look for.
I need to create 2 roles:
users who can only filter data from tables (SELECT).
users who can modify data (i.e. DELETE st...
I'm trying to print an image sized 2x2 inches. Created a conversion function (inches to pixels) based on the resolution. However, the result is far from 2x2 inch, printing produces image that barely fits the whole sheet! Am I'm doing something wrong?
Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.D...
Hi All
I have implemented some version of tuple class , and really want to learn more from it .
Can you please point me on some points that I am missing here with my implementation.
class My_tuple<T1, T2> : EqualityComparer<My_tuple<T1, T2>>
{
#region Virables
public T1 First { get; private set; }
public T2 Secon...
Hello
I have a .NET WeBService project and a reference to it from another project. Visual Studio generates a proxy class (SoapHttpClient) with all methods of my Web Service. The project that I use the WebService from is a .NET CF mobile application. This means that Internet access and WebService is not always available. What I need to d...
I need to use a special character (an exponent of two, aka ^2) in a windows forms application. I also need to use it in a Microsoft Report that is opened by this same windows forms application.
Anyone know how to do this?
...
I have a peculiar problem here. I want to extract some generic types, which implements a generic interface from an assembly. I can accumulate all the types from the assembly but can not search for a particular implemented type from that type collection. Here are my code I am using, can you please point out what is the wrong with it? Or h...