Web Forms :: C# Controls Not Showing Over WLAN Network?
Jul 1, 2010
im kinda new to ASP.NET and i have a project to do...
i made a textbox control and a gridview in my page, and it works perfectly when i "ctrl+F5" it (execute).
i then made a ad-hoc connection with my friend, cuz i want him to access the gridview and textbox over a network. im using win 7 32-bit and after i made the network and after he connected (the network was unidentified by windows) i then enter \pcname-pc........Page.aspx.
the page loads but the textbox control and the gridview doesnt show up....WHY???
View 3 Replies
Similar Messages:
Jun 28, 2011
In the IIS, it shows that the web app (i'm using) is using an application pool that uses NETWORK SERVICE account for identity. But when I debug/run my web app, User.Identity.Name shows that my windows user login instead. I checked my web.config file, and it does not have Impersonate enabled. In fact, I set it to false, and it still shows the same.
View 1 Replies
Aug 17, 2010
My ASP.NET MVC 2 application runs under built-in local NETWORK SERVICE account. I want to set up access permissions for the folder which resides in another computer, but in the same domain. I located that folder right-clicked to open its properties form, clicked to Security tab and pressed Add button which displayed Add user form with correct domain name in the location field. I referred to the account with following syntax:
<domain name><server name>$
because I learned that NETWORK SERVICE account uses machine account when connected to other computers in the domain. However, the system couldn't find the account, so refuses to add the account. Without the domain name it adds a user, but that user seems to be local user, not web server's NETWORK SERVICE account. What am I doing wrong?
By the way, the above syntax worked when I created login for the sql server which is different computer from the web server.
View 2 Replies
Apr 26, 2010
I'm a network engineer, who dabbles in programming for fun. I would like to create a web page that allows people to view/enter hostnames into a gridview of a /24 network. /24 is a subnet mask 255.255.255.0 and allows 256 addresses.Normally we use an excel spread sheet for this 10 columns wide and 25 rows. Eg first row is IP's "0-9", 2nd row is IP's "10-19" etc, with row labels that matchI'm a bit stuck on how to lay this out. The reason for this is that I'm not using the grid view to return muitiple rows of a table with repeating data as per the standard use, I only want to show one row, with 256 unique values.
View 5 Replies
Mar 24, 2010
Is there a way to connect to a db that is not on your network!?!? How would I do that?
Using VS 2008.
View 2 Replies
Jun 2, 2010
I have the folloing sql server error from my ASP.NET website.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
This seems to be a network related issue. But on the same machine where IIS is running, I have another C# application running that is not experiencing this problem. This happens after the website has been running for a few weeks. Will this be because the database connections are opened but not closed properly?. I wrote a test web page where i just open connection but not close it and I got Time out error when connection pooling is maxed out. Is this memory issue? Memory that are allocated are not deallocated in timely fashion?..
Everything is working fine for a few weeks and after that I get the above network error.
View 2 Replies
Dec 22, 2013
how to send pdf,word file to network printer through Ip.
View 1 Replies
Jan 28, 2010
Is there a way to control the Outbound IP Address a .NET program uses?
We have Servers with multiple IP Addresses hosted at Data Centers with limited Firewall rules. We would like to open Port 1433 to our SQL Server to as few individual IP Adresses as possible. But this becomes difficult when a Server has multiple IP Addresses.
So is there a way to control what Outbound IP Address a .NET program uses? ...Even better would be if there's a way to control the Outbound IP Address in the connection string.
View 2 Replies
Sep 29, 2010
I am building a application with some forms. The layout was delivered to me in HTML page and I am rebuilding it now to ASPX pages. One page has two radiobutton boxes from which a user can choose one option (of one of the radiobuttonlists). Based on that selection a third redaiobuttonbox shows up at the right of the page with another selection choice. When the third radiobutton is selected a new page is loaded in a iframe (in the original page) with a control (textbox, button or some textfields). What exactly should be loaded is based on the selection of the third radiobutton. Now I wanted to know if it would be possible to do this all in one page, for example can i make a panel that could be dynamically filled with the right controls?
View 2 Replies
Feb 12, 2011
I want to show xml which is load from sql server with the following code but I dont know for showing that in web which control is suitable?the code is as follow:
using (SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["WebApplication1.Properties.Settings.mycon"].ConnectionString))
{
con.Open();
SqlCommand cmd = new SqlCommand("select * from ajaxmovie FOR XML AUTO ", con);
XmlReader xr = cmd.ExecuteXmlReader();
xr.Read();
string data;
do{
data=xr.ReadOuterXml();
}
while(!string.IsNullOrEmpty(data));
View 2 Replies
Feb 27, 2011
I have gridview and will show data like this :
|Year | Course Code | Teacher |
|2011| 001 | T01 |
|2011|002 | T02 |
How I can show name of course and teacher name? I'm using sqldatasource to bind gridview
View 8 Replies
Feb 11, 2010
I FORGOT TO ADD A DATASOURCE TO THE GRIDVIEW. GRIDVIEW NOW SHOWS. ****When I run my web page my gridview is not showing up. Don't know why. The page is nothing more than an image at top followed by a gridview below.
[Code]....
View 2 Replies
Nov 8, 2010
I have the following simple linq to sql statement:
[Code]....
Instead of showing me the UserName from the aspnet_Users table, it showed me the SQL select statement.
View 2 Replies
Mar 16, 2011
I have a gridview which enables editing. The editing sequence works fine. When the user clicks the edit button, I want ONLY the row to be edited to be shown, and all others to be hidden.
This is the code that I have, but it isn't working. Can anyone tell me why and how I can fix it? I am using a dataset to bring text from an XML file.
[Code]....
View 2 Replies
Dec 22, 2010
I want to create a chart with more than 50 000. Up-to-date I use the dotnetcharting-chart-library. But the problem is the time to load the chart. It needs more then 20 minutes. An unbelivable event.
I load the chart with the values directly from database. The database-query needs less than 10 seconds. The rest of time the chart was created.
So my question to you. Do anybody know a chart-library for ASP.NET C# to show more than 50 000 measurements in one diagramm in a realistic time for a webuser.
View 2 Replies
Feb 15, 2011
I am using GridView with AutoGenerateColumns=true and editbutton as
<Columns>
<asp:CommandField ShowEditButton="True" /> </Columns>
Edit button shows as first column on left.
how to show editbutton as last colmn(on right)?
View 1 Replies
Nov 22, 2010
I have put in dynamic (from db) image alts for images shown on my site, and when i check the page source i can find the alt tags all working fine.
However, google doesnt seem to be finding them, and i have tried an online tool which searches for image alts, and it is unable to find them.
I am assigning alts in a datalist, on item_databound - is this where i am going wrong?
At what point should I assign the image alts so that google can see them?
View 5 Replies
Mar 8, 2011
i am creating a datagrid, this is the first time, i am getting error like this. what should i have to do to rectify this.
[Code]....
View 2 Replies
Feb 24, 2011
I have 2 tables named Months & Attendence; Their containing fields are-
#1. MonthsName, StartDate, EndDate (like- January-2011, 01-01-2011, 01-31-2011 ...and so on)
#2. EmpID, Date, Intime, OutTime (Holds a whole months of Data for all employees attendences)
Now I wish to show whole months of Attendence for a specific employee into a data gridview.
There should be shown each day of the month- loaded from a Dropdown.
View 1 Replies
Apr 7, 2010
I am not sure if my subject is phrased properly but here is what I am getting problems with.I have a detailsview which had about 3 dropdownlist (ddl) on it. The DDL's works fine when I insert a new record or I try to edit an existing record.But when I just want to view the data in the detailsview it displays the primary keys (DataValueFields) instead of the associated DataTextField Value.
View 6 Replies
Nov 1, 2010
I am trying to create a form that displays a dropdown and a password. The dropdown will act as the login for the password. If the password is correct the dropdown should be the variable for a gridview that should be visible? Can someone look at my code and see where I may be going wrong or any hints?
ASP Code
[Code]....
c#
[Code]....
View 2 Replies
Feb 10, 2011
I have a folder in my CMS (ektron) which has 95 entries.The public site is only showing 50 rows. Is there something I need to do to the GridView control to show the other 45 entries?
View 2 Replies
Jun 3, 2010
I want to show a checkbocklist bound to a datasource. The datasource is a table with 2 columns. Column1 = description of the checkbox, Column2 = a true/false whether the box is checked or not.
I am able to create the checkboxlist control and bind it to the table but the checkmarks are not showing for values that are true.
Description
Choice
Manager Approval
false
Receipts
true
User Submit
false
Payment
true
Is there a predefined field type for the checked value? Does it have to be 0 or 1 or True/False or Checked/Unchecked in order for the checkboxlist to interpret it correctly?
View 5 Replies
Jan 16, 2010
I bind the ObjectDataSource to Formview and I just look the datetime field
it is not showing but it is showing in gridview...
View 8 Replies
Sep 9, 2010
I have a grid view with some date [URL] I have column 'Zdjecie' with picture url and last column with camera button.
I wish that after clicking on camera button from last column, picture of url from column 'Zdjecie' wil be displayed.
I have atached event like this to clicking on camera button:
protected void grvWojewodztwa_CustomButtonCallback(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewCustomButtonCallbackEventArgs e)
{
if (e.ButtonID != "ShowPicture")
return;
string vrlUrl = grvWojewodztwa.GetRowValues(e.VisibleIndex, "ob_zdjecie_link");
}
and i debugged it and vrlUrl is really picture url, but how to show this picture in new window or popup?
View 2 Replies