|
see, i need to watch out for any updates on on specific folder in pc.
and based on this i want to move, or add this file to some other application.
As per you how can i make such applicaiton and deploy on client and track changes to central location?
Can u provide me sample code project for the same ?
Thanks
Regards
Be ready for new things
|
|
|
|
|
|
thanks, I have already tried another project like this,. But i found that this works with only thoes files and folders which are shared across the network. It does not recognizing other folders..
I want , i should be able to scan throuhg folders of files across the network which are not shared with some admin super authority..
Pls. do reply if you found other solutions which satisfy my requirement.
Thanks,
Regards,
Be ready for new things
|
|
|
|
|
Yes, but if you deploy something like this on each client to watch their directories and then update some central repository, it would work, no?
|
|
|
|
|
i have one webpage, in that three controls are there(Dropdownlist)
1. Date
2. Country
3. State
Date and State controls have autopostback = false, for counry control autopostback=true while the selection of country the state data will load after postback.
now my question is tabindex in the order of 1,2,3. i am selecting the country using keyboard mouse keys, now the ab is not in the same control, i want the tab conrol is in the country dropdownlist
please help me
-
|
|
|
|
|
After the postback call the controls setfocus method.
I didn't get any requirements for the signature
|
|
|
|
|
Hello everyone,
I have a small doubt regarding DateComparsion.I have a two textboxe's and an image button.When i enter the two dates i want to check that txtstartdate should be less than txtenddate using javascript when the imagebutton is clicked,name those two textboxes id as txtstartdate and txtendate.Plz anybody help me in writing this code.
ThankX in advance,
Murali
Murali
|
|
|
|
|
hope this will help you
function DateComparison(){
var startDate;
var endDate;
startDate = document.formName.txtStartDate.value;
endDate = document.formName.txtEndDate.value;
var stYear, enYear, stMonth, enMonth, stDay, enDay;
stYear = startDate.substring(6,10);
enYear = endDate.substring(6,10);
stMonth = startDate.substring(3,5);
enMonth = endDate.substring(3,5);
stDay = startDate.substring(0,2);
enDay = endDate.substring(0,2);
if (stYear > enYear)
{ return false; }
else if (stYear == enYear)
{ if (stMonth > enMonth)
{ return false; }
else if (stMonth == enMonth)
{ if (stDay > enDay)
{ return false; }
}
}
return true;
}
Regards
John
|
|
|
|
|
Hi All,
I need to add a Sub-Report to A Main Report in Crystal Reports 10,I am using Visual Studio 2005 as IDE..
The Sub-Report is using a stored procedure & main report is using another Stored Procedure.When i add the requisite parameters to the Main -Report of the sub-report the report doesnt show up..
I have tried searching on google but i havent found found any relevant thing..
Please Anyone could help me Regarding Crystal Reports..
I am using Crystal Reports in an ASP.NET Web Application
Reply..
-- modified at 7:39 Tuesday 14th August, 2007
Robin
|
|
|
|
|
|
Hi,
You can access the value of control of another page if the page is Previous Page by creating the object of the Previous Page and then findcontrol whose value you want to access.
Naresh Patel
|
|
|
|
|
I don't think creating the object of another class and then assiging values to its control is proper
From my point of view put that value in QueryString/ViewState/Session
That's why we have these techniques with us ...
What you think ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Ravindra Mahaseth wrote: textbox1 in page2.aspx from the page2.aspx.cs.
page2.aspx.cs to Page2.aspx ? What do you mean by this ? page2.aspx.cs is just separating code from design page. When execution it won't be considered as two pages.
My Website | Ask smart questions
|
|
|
|
|
I'm afraid you need to read a book on ASP.NET. Your other page doesn't actually exist unless you've done a cross page postback. ASP.NET just doesn't work that way. Each page is created when you navigate to it, and when you navigate to another, it's lost.
Ravindra Mahaseth wrote: assigning the text property of the textbox1 in page2.aspx from the page2.aspx.cs.
textbox1.Text = "blah"; will do that, but I assume you meant to say page1.aspx.cs ?
Ravindra Mahaseth wrote: but not been able to instantiate the class.
Even if you did, it would have no bearing on the instance of the class which contains the data you're looking for.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi all,
I developed reports in Crystal Reports in landscape mode. When i print
the same from crystal report it prints in portrait orientation. I would
like to know whether i will be able to display a page orientation dialog
with print dialog from crystal report. If Yes please give me some hints.
Thanking you
Sebastian
|
|
|
|
|
I am really frustrated that, no one is replying for this post..............
|
|
|
|
|
this [^] is from me
I Love SQL
|
|
|
|
|
Hello sir ..
i am getting error when i check my application in browsercompatablity actual process this project is reg Hospital management system. in one .aspx i need to add patient name and details and that same page i search exit patient option is there if i click search button that another page will come in that exit patient details is there so if i selected that one patient . that patient details comes previous .aspx page here blow that page one gridview is there that patient details comes under that page
so in that grid header contains patient id, name , ph no .. below that header name and id comes. if i scroll that datagrid that patient details overflow to that grid header this is actual function , this is working in IE but in Mozilla that datagrid header also overflow .
.CSS file
.gridFixedHeader
{
background-color:white;
font-size: 9pt;
color: #FFFFFF;
position: relative;
font-family: Airal,sans-serif;
border:#0066CC;
max-width :100px;
top:expression(this.offsetParent.scrollTop-0);// this line shows top doesn't have this property)
z-index: 1;
}
|
|
|
|
|
Dynamic CSS expressions are only supported by IE.
|
|
|
|
|
OK. is there any other soin for this?
|
|
|
|
|
Can anyone tell me how to take user input from an application and insert that into SQL database table. I am very new to asp.net. And had tried the below code:
insert_cmd = string.Format("Insert into CreateTask(@Title,@AssignedTo,@AssignedDate,@EstimatedEfforts,@Priority)");
// Create new parameters for the SqlCommand object and
// initialize them to the input-form field values.
mycmd.Parameters.Add(new SqlParameter("@Title", SqlDbType.NText, 11));
mycmd.Parameters["@Title"].Value = inpTitle;
The new parameters are created for the other fileds same as above.
When I run this program the error displayed as:
"The name 'inpTitle' does not exist in the current context"
Sailaja
|
|
|
|
|
To Insert into SQL database try following steps
1 - Include System.Data.SqlClient
2 - Intialize SQLConnection class
3 - Set connection string
4 - Create SQLCommand class. You type queries in this class object
5 - Call SQLCommand ExecuteNonQuery() method.
Go through some books that explains ADO.NET in detail before you start.
|
|
|
|
|
hi navaneeth
thx for ur reply. I had already written the code for sql connection and all.
I am able to connect to sql, after connecting to sql only I am trying to insert the data but the that error msg is being displayed.
plz let me know whether i had written the code correctly mentioned earlier??
and also plz send me some refernces if any for learning this....
Sailaja
|
|
|
|
|
potlakayala wrote: plz send me some refernces if any for learning this..
Check This[^]
|
|
|
|
|
Your SQL insert statement does not appear to be correct.
INSERT INTO table(fieldname1,fieldname2,etc) VALUES(value1,value2,etc)
WHERE fieldnameX = valueX;
|
|
|
|