Tagged Questions
C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
0
votes
0answers
7 views
Winforms scrolling text control
I'm looking for a control that can hold a list of text items.
For example:
Item 1
Item 2
Item 3
When I add a new item to this list (Item 4 for example), I want the new item to appear ...
-2
votes
0answers
20 views
Print class using format string in cpp
During code, I've found remarkable problem.
In my code, i just print same object using format string. but result is not same.
By my insight, i thought result is 97 97 97. but outcome is 97 98 99
...
0
votes
1answer
14 views
ASP.Net : How to call a method from one web page with another web page
I have a web site that includes two pages. one of them shows my basket (basket.aspx) and the other shows the product(product.aspx). I want to update grid view in basket page when the users click on ...
0
votes
1answer
6 views
Retrieve display value of combobox winrt
I set the DisplayMemberPath of a comboBox as well as the ItemsSource, now i'm trying to retrieve the selectedText that is displayed but there is no selectedText property. I tried
string s = ...
0
votes
2answers
21 views
Image is saved to the database as binary data, now I need to extract the data and put it in an <img> tag
I please need help to get my image to display correctly in the tag that is created in a literal control.
foreach (DataRow dr in dt.Rows)
{
string productName = ...
0
votes
1answer
7 views
how to modify the contents of xml file in ftp server
i have created a xml file which contains paths to certain image file in local system. once these files are transferred to FTP server i want to update the xml with the ftp server paths. Is there a way ...
0
votes
0answers
4 views
XNA fullscreen: differing behavior based on buffer width
I'm having difficulty understanding how viewports are affected by fullscreen mode in XNA. Everything works fine in windowed mode, but when I call graphics.ToggleFullScreen(), different stuff happens ...
0
votes
1answer
19 views
Reaching to Collection that each item of it is a Collection
I have Room and Bed classes in EF which each Room have some Bed(s).I have a Collection of Rooms that I retrieved from EF context;I use this code to reach to all Beds in Collection of Rooms (myRooms):
...
0
votes
0answers
18 views
Linq Query for Tags/Fields
I am new to Linq and I have difficulties querying the database for a result containing multiple tag IDs.
So, I have two models:
Folders and FieldTags. The Folder holds a string with all FieldTag IDs ...
-3
votes
1answer
28 views
How can create a license key for Custom Software [on hold]
Hello I am using visual studio 2008 with C# and Structured Query Language Express 2005.I am working in a software firm and I am currently developing a Point Of Sales software but I was looking to ...
0
votes
1answer
7 views
How to use SQL Server's GETDATE() when system time is off?
I'm writing an application which needs the accurate time (accurate to a few seconds, nothing crazy). The application is in C# and it interfaces with SQL Server, both reside on the same machine. In my ...
0
votes
1answer
5 views
how can I use xbuild to build release binary
When I use xbuild it always use debug as target, how do I make it use release?
For example I would expect something like
xbuild --release
but that doesn't work
0
votes
0answers
55 views
C# from numeric to double
we have a value in our database that is numeric we take through the database and then we want to insert it to another value but we want it to be converted to DOUBLE from Numeric
So any ideas how can ...
0
votes
3answers
31 views
Buttons OnClick event in .aspx instead of .cs file
I'm creating a small asp.net app, and I'm facing an issue that may be pretty simple to fix.
On my masterpage, I have a 'Login' button. I've put the button on the form, double clicked it, and the ...
-1
votes
1answer
26 views
MVC 4 model in javascripts code
I want to do this if statement below with a value in a model object in razor view.
I do not know how to do it though...
Anyone has any idea?
<script>
if (@Model.projects.Count == 1) {
var ...