Tagged Questions
0
votes
1answer
23 views
how to assign an item template (eval) value to a label outside the asp.net gridview control
I would like to assign the
<%# DataBinder.Eval(Container.DataItem, "Name")%>
which is within the gridview to a a label
Label2
outside the gridview. I cant figure out a way to do it since ...
2
votes
6answers
41 views
InvalidCastException on a list of objects
I have a query whose results look like
Blue
OrangeRed
Black
Green
Silver
Red
I intend to make a list of System.Drawing.Color objects out of this result set. When I run the program I'm getting the ...
0
votes
2answers
47 views
Build Enum from database query
I want to have an Enum that's built from a database query and I'm stuck at how to do it. My thought was to have a method that returns a list of strings and use that to fill the Enum, but I'm unsure ...
0
votes
1answer
24 views
Visual Studio , SQL Server can't connect properly
I am new to visual studio (2010) environment. I want to make an application in asp.net which requires database connection with MS SQL SERVER 2012( SQL Server Management Studio).
In "Add Connection" ...
0
votes
1answer
23 views
Asp.Net multiple join tables issue from Sqldatasoruce Query Builder into one gridview
In Visual Studio 2010 with ASP.NET 4, I am trying to join several tables together to put the results in a gridview and details view with sqldatasource. In the sqldatasource wizard I have chosen to ...
0
votes
4answers
43 views
Datagrid to excel in asp.net c# - vs 2010
recently started to code in vs2010 from vs2005. need a code to export to excel from a datagrid. in vs2005 the following code was used.
Response.Clear();
...
0
votes
0answers
21 views
“Generate Database from Model” returns blank sql file, Model-First EF, Oracle DB
UPDATE: FOUND SOLUTION See end of question.
I am somewhat new to entity framework and still learning. I am using VS 2010, Entity Framework 5.0 (Model-First), Oracle10g, and Oracle Data Access ...
1
vote
2answers
23 views
ASP.net controls not obeying CSS?
Why is is that Block 1 doesn't render the expected styling and Block 2 does?
CSS
.test
{
height:3.85in;
width: 2.625in;
border: 10px solid blue;
padding-right:.25in;
...
0
votes
2answers
22 views
page_load not getting called when redirected to it
In Intuit App Center when the user clicks on my app they are supposed to be sent to www.myweb.com\OpenIdHandler.aspx.
Fiddler shows:
GET https://appcenter.intuit.com/app/b7nyqfscsm
302 Found to ...
2
votes
1answer
44 views
asp.net dropdown list to open upwards
I have a drop down list in asp.net and it opens downwards. I have repeater elements just below the dropdownlist and I have a mouse hover on the repeater elements.
So when I try to open and select ...
2
votes
3answers
67 views
using if else with eval in aspx page
Is there a way to use an else if on the following eval on the aspx page .
Currently my div is as follows :
<div class="tooltip" style="display: none"> ...
0
votes
0answers
6 views
How to add matrix elements of Matrix in ASP.Net WebServices
Iam facing a problem in addition of elements of matrix in Web Service.I want to add all element of a row in a matrix. I need to do this :
Sum
2 5 3 10
4 5 6 15
5 7 9 21
my code in ...
0
votes
1answer
13 views
How to publish generic file using web publish in Visual Studio?
I am using Visual Web Developer 2010 Express (I am using VS for 10 years) and I publish a web site using web publish to Azure. I want to publish a generic file lets say a .dat file that users will ...
0
votes
1answer
32 views
When i run Visual Studio 2010 web application, i am getting “Internet Explorer cannot display the webpage”
When i run Visual Studio 2010 web application, i am getting
"Internet Explorer cannot display the webpage".
I am using Visual Studio Development Server (meaning ASP .NET development server not ...
0
votes
2answers
33 views
Can i ping a list of sites in a certain order?
Afternoon All,
Im in the process of writing my first console app in VB. The app i am developing that essentially pings a list of web sites and then writes the status out.
My question is the ...