|
|
More than you will ever need why
|
|
|
|
|
Hi,
I have to make some changes to the query of the UpdateMethod of a ObjectDataSource in my web app. I am using MS Visual Web Developer 2008.
Yesterday I worked on the query in a query builder window, which I remember (apparently wrong) opening from a property of the ObjectDataSource in the editor.
Today, for the life of me, I cannot seem to find this query text property nor the query builder anywhere.
Can anyone tell where to look?
Regards,
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
Never mind, found it.
I should have been looking at the properties of the related xsd file.
My advice is free, and you may get what you paid for.
|
|
|
|
|
I am new to web API developement, currently I am devloping a web Service using ASP.Net Web API MVC 4.
I am able to host it on IIS 6 and IIS 7.5 but and it working fine. I have tried to deploy on IIS 5.1, but its not working.
Can any body give me idea on the same please?
Thanks
Bankey
|
|
|
|
|
You would have to get .Net 4 installed on it the server. I am not even sure you can do what you are asking. Why do you need to?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello Everyone
I am new in .NET Environment. I m stuck with one problem
Following is the thing which I need to do..
I have a Master Page in my application and I want to modify its control like LABEL text from content or on run time.
following are the codes I am trying to use but its not working and given me error "NullReferenceException was Unhandeled by user Code"
CODES Behind file of MasterPage :
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.text="Naqvi"
End Sub
help me How do I fix this error
|
|
|
|
|
|
Why laughing may I put some joke ?
|
|
|
|
|
First of all tell us your project is in c#.net or vb.net and is it window application or webapplication.
And NullReferenceException generate when you assign null value to which variable are not accept this value.
|
|
|
|
|
Hi Jai
I hope you don't mind as I wrote you Jai . Well Its VB.net Code and Its a Web Application.
Thanks and hope for the best from you
Regards
Ferhat Naqvi
|
|
|
|
|
Hi it is very simple you need to used the FindControl() method of your page, like ((Control)this.FindControl("Label1")).Text = "Naqvi";
|
|
|
|
|
Hi Friend
Thanks for your kind advice , I also tried to do the same by using FindControl method searching on the web but It's not working can you please show me the sample code
|
|
|
|
|
using System;
using System.Web.UI.WebControls;
Now add following code in code behind
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
Label masterlbl = (Label)Master.FindControl("lblMaster");
TextBox mastertxt = (TextBox) Master.FindControl("txtMaster");
lblContent.Text = masterlbl.Text;
txtContent.Text = mastertxt.Text;
}
}
Here 'txtMaster' is a textbox placed in the masterPage...u can try like this to get all controls from MasterPage
|
|
|
|
|
Salam & Good Day Aatif
Many thanks for your support. But actually you can give me the C# code and I am using VB.NET following are the codes.
DirectCast(SelectSurvey.FindControl("lblMaster"), DropDownList)
But It give error on "SelectSurvey.FindControl" where SelectSurvey is page where that control exist. Infect there is no .FindControl property in list when I give the page name and pressing DOT(.) can you I also add two reference of class as below
Imports System
Imports System.Web.UI.WebControls
Can you please let me know why. Your quick reply will be highly appreciated
Regards
Ferhat
|
|
|
|
|
dear all,
I have a case, like this:
I have 2 servers, the server A and server B,
A server in my store the result data file upload from application A,
How do it so I can download it from the server B / Applications B.
without using FTP or shared folders term,
and how can I find out if the way there is a new file on the Server A is the result of the application upload A.
course using Microsoft Dotnet technology.
thanks so much for his attention,
any form of advice, referral and opinions greatly appreciated.
greetings advance.
|
|
|
|
|
Research this Windows function: FileSystemWatcher(), it can be used to monitor a directory for files that have been newly created.
Also, depending on how big the files are you may be able to create a webservice on Server B which can be invoked by a Windows service on Server A.
My idea is something like this:
1) Create a windows service on server A which uses FileSystemWatcher() to monitor a directory for newly uploaded files.
2) When a new file is detected, invoke a Webservice on Server B to send the data over.
How about that?
|
|
|
|
|
thanks for replay David Mujica,
thanks for the advice ... I'll try it,
whether it can be safe in terms of its web security and server ...
or maybe there are other ideas ..
but I thank you for his time ...
|
|
|
|
|
|
Please don't post a link to another forum and expect us to read through all of the posts. If you have a question, please clearly articulate it and we'll be happy to help.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I have created asp.net web application in windows 7. I am able to run locally but i am not able to run from other system.
What could be the possible reason.
If anybody knows, please reply me.
Thanks in advance.
|
|
|
|
|
Can you change your connection string.
Ans what error you see when you try to run fro other system.
|
|
|
|
|
|
are you trying to access through IP address or copying your application to other system. can you provide some more details...
|
|
|
|
|
Please provide us more detail i.e VS version or IIS version.
|
|
|
|