|
ACMA_1980 wrote: I've created a windows application through C#
And you asking this in ASP.Net forum?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You have improved your typing speed buddy
|
|
|
|
|
ACMA_1980 wrote: I've created a windows application through C# to add appointment in outlook 07 programatically
Then why you are asking over here? This is ASP.NET Forum. Please ask in C# Forum.
|
|
|
|
|
|
hi,
any one help me,,,
When i change the textbox content, it fire the .js(Script file) and set the button visible propery as true.
.js as a separate script file.
Thanks.
|
|
|
|
|
svm_kala wrote: When i change the textbox content, it fire the .js(Script file) and set the button visible propery as true
I didn't get can you be bit detail?
Cheers!!
Brij
|
|
|
|
|
When i change the text on the "Text box" to fire the javascript code, Like,
Button id :-
<asp:button id="<b>btnSave</b>" runat="server" text="Save">
onchangetextbox event:-
<asp:textbox id="txtFirstName" runat="server" text="FirstName" <b="">onchange="onButton('btnSave')">
My .js code:-
var button;
function onButton(ButtonValue)
{
button=document.getElementById('ButtonValue');
}
the variable "button" returns the null value.
Plz any one help me... how to solve the proble.
|
|
|
|
|
<asp:TextBox ID="txtFirstName" runat="server" Text="FirstName" onchange="onButton('<%=btnSave.ClientId%>')">
|
|
|
|
|
|
Do as DoctorMick says.If any other problem let me know
Cheers!!
Brij
|
|
|
|
|
|
ravindarp wrote: any body its an urgent
Only for you and not for us.
ravindarp wrote: on perticular information(topic)[ex: tata steel] when updated in world By using .Net
What do you mean by saying information is changed in world?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
That means any updates on that perticular topic like stock news of Tata steel today or any updation news on tata steel ltd.
|
|
|
|
|
Does they provide any RSS kind of information ? You need to feed the information in timely manner and if some update then you need to send the email notification.
|
|
|
|
|
Yes, i need that kind of code in .net or any sample applications. Similar to google alert.
|
|
|
|
|
i am tying to update source table to copy in destination table.
i want old record update and new record insert in destination table.
Following code is i am tying.
new record inserted but old record not updated in data base.
when i am merge table than that value up date in datatable but
problem with database.
public void Replication(string TableName)
{
DataTable dtSource = GetAllTableData(CnSorce, TableName);
DataTable dtDest = GetAllTableData(CnDest, TableName);
dtSource.AcceptChanges();
dtDest.Merge(dtSource);
dtDest.AcceptChanges();
DataSet ds = new DataSet();
ds.Tables.Add(dtDest); InsertData(ds, CnDest);
}
public int InsertData(DataSet ds, SqlConnection cn)
{
try
{
cn.Open();
if (cn != null)
{
SqlTransaction transaction = cn.BeginTransaction(System.Data.IsolationLevel.ReadCommitted);
foreach (DataTable dt in ds.Tables)
{
if (dt != null && dt.Rows.Count > 0)
{
cmd.Connection = cn;
cmd.Transaction = transaction;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select * from " + dt.TableName;
adapter.SelectCommand= cmd;
cmb.DataAdapter = adapter;
adapter.UpdateBatchSize = dt.Rows.Count;
adapter.Update(dt);
transaction.Commit();
}
else
{
transaction.Rollback();
return 0;
}
}
return 1;
}
else
return 0;
}
catch (Exception ex)
{
return 0;
}
}
|
|
|
|
|
hi all
i am using asp.net 2.0, and code to zip a file
the code works for folder size 60 MB but if the folder size is more than 60MB then it throws me following error
"Insufficient system resources exist to complete the requested service"
i used ICSharp DLL to make zipped folder
I have 256 MB RAM on my machin
what should i do ???
is anybody has occoured this type of error while using ICSharp DLL
thankx in advance
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
koolprasad2003 wrote: i am using asp.net 2.0, and code to zip a file
the code works for folder size 60 MB but if the folder size is more than 60MB then it throws me following error
What are you trying to Do? You are using ASP.NET Application to Zip a more than 60 MB file ?
Can you please tell me what is your actual requirement ?
|
|
|
|
|
koolprasad2003 wrote: i used ICSharp DLL to make zipped folder
Looks like some third part thing. Better ask details regaridng this in their forum.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas, Do you think it does makes any sense to zip a file with more than 60MB in ASP.NET web application ?
|
|
|
|
|
Abhijit Jana wrote: Manas, Do you think it does makes any sense to zip a file with more than 60MB in ASP.NET web application ?
Not very usual but yes, I have seen applications doing that.
This is more to do with how good you are in convincing the client to follow an alternate approach.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
The only possible website that may zip a file more than 60 mb are File hosting sites
|
|
|
|
|
Abhishek Sur wrote: The only possible website that may zip a file more than 60 mb are File hosting sites
|
|
|
|
|
I have never used ICSharp but I think the problem is it creates total ZIP in buffer, thus killing up the entire buffer size.
Code in such a way that it will always use the hdisk while doing the zip process.
|
|
|
|