I have two panels on the same page, side by side. On contains a gridview. I want to determine the height of the gridview after databinding and set the height of the other panel correspondingly, but when I try to read the height of the gridview it comes back as 0. How do I get it's height, preferably in PX?
...
I have two tables Customer and CustomerPhone. Customer usually has multiple phone numbers, so when i run select statement on customer 101, i will get multiple records due to the multiple phone numbers.
As you see below all the "Phone" and "Fax" field belongs to CustomerPhone table. These are considered as two records in the CustomerPh...
Hello Everyone,
I would like to achieve something very similar to this question, with some enhancements.
There is an ASP.NET MVC web application.
I have a tree of entities.
For example, a Page class which has a property called Children, which is of type IList<Page>. (An instance of the Page class corresponds to a row in a database.)
...
How would I go about making a simple IRC client with these things
What I am using:
Nickname TextBox
Connect Button
Message TextBox
Send Message Button
Refresh Button
ListBox
Restrictions:
No commands at all just being able to send messages
I am using a listbox for recieving messages
...
I have a ListBox on my Form, I want to save it and load the values when I start the application again.
How can I save a list on PrjName.Properties.Settings.Default?
...
Hello everyone,
I am using c# to integrate with a web cam. I need to generate a snapshot image every x miliseconds and save it to file.
I already have the code up and running to save to file on a button click event, however I wonder what am I supposed to do when taking snapshots in the background - Should this be multi threaded? I'm hone...
I have a WCF Service that uses a callback.
Using the "Configure Service Reference..." I can tell it to generate me async implementations.
The problem is it will also generate me an async callback which I do not want because I then have to implement it manually which is complicated.
Is there a way to just generate the asnyc client for ...
In visual studios i can run code analysis on my .NET project. I am running basic correctness and have 85 warnings. Which is a little much. Also majority of them are in external code.
How do i disable specific warnings so i can focus on the more important warnings? I tried the below but it does not recognize code analysis warnings. (I fi...
On SQLITE this way fine. I switch to mysql and instead of クイン i get ???. The column is TEXT or sometimes VARCHAR(255) (i believe its VARCHAR(255) in this case).
How do i have mysql save the characters properly?
...
Hi all ,
I want to print a set of invoice for my application. So I need to display all invoices in report viewer before they print. are there any methods to bind multiple reports to same report viewer using crystal reports or rdlc. I try rdlc but I couldn't find any way to do that.
please any one can provide code sample or instruction...
I have one central SQL Server database which can be offline from time to time. I have a desktop application using Local DB Cache (SQL CE) to synchronize with the central database and I also have a web application with its own SQL Server that I'd also would like to keep synchronized. All synchronizations must be bidirectional.
Is there a...
Well I am trying to autoscroll my ListBox or display everything the opposite way just like a shoutbox.
Please post the code here on how to do it. I have tried many ways but they either gave me errors or didn't work.
...
Hi all,
I know that if you use EF in a model-first manner in VS2010 with a standard SQL Server database then it is easy to apply the generated DDL to the database. Is there an easy way to do this with .mdf files (SQL Server Express Files)
Thanks in advance.
...
hi everyone.
Do i need to install .net frame work 1.1 and 2.0 before i install later versions (3.0)??
or the installation of the 3.0 framework alone is enough and provides support for softwares that were written on an earlier framework versions ?
thanks ,
liran
...
Hi All
I have a listview with 2 columns, and when the I double click on an item, i need to display the value of its corresponding sub item in a TextBox control. How can I do this?
I searched Google, but it didn't return anything helpful, probably because I'm not exactly sure what to search for.
Thank you
...
With .NET 3.5 SP 1 I checked out this blog and followed instructions, however the StringFormat parameter still gets ignored.
Any possible reasons?
To be sure: the datatype that are involved are DateTime, double, int. So the formatting SHOULD work, but it's not.
Any clues why?
EDIT: here's the code!
<Label Content="{Binding Path=TotalHo...
Using Visual Studio 2005
I have list of class files, when i try to run the class files, it showing error as
"a project with output type of class library cannot be started directly"
How to run the class file? How to create a dll file.
Am new to visual studio 2005
Need Help?
...
Hello all,
I've got a scenario where we have a customer who has a linux hosted php app (joomla) that they wish to integrate with some back-end asp.net mvc functionality that was created for a 'sister' site. Basically, the mvc site has prices and stock availability methods which (in the sister site) populates dropdown lists and other 'or...
I’m trying to find Microsoft CAT.NET for VS2010 and it looks like there was a beta of their 2.0 version but every link to it in Microsoft Connect is now dead. This is the most recent reference I could find: http://blogs.msdn.com/securitytools/archive/2010/02/05/how-to-use-cat-net-2-0-beta.aspx
Some references suggest it may have been ro...
I wonder what are .NET technologies / C# language improvements you consider as breakthroughs in the .NET era for the last 5-10 years. I mean technologies that shifted developers' minds.
For example DirectX made assembler nearly abandoned for game programming in the end of the 20th century and jQuery extremely simplified Ajax web develop...