|
Hi,
I have a requirement where i have the xml file in the clientside.I need to update the xml file into the database where i make use of dataset ..Is there any method for accessing the clientside xml file into the dataset.
Any help is appreciated..It's an urgent requirement for me...
|
|
|
|
|
I think one way is to Uploading the Xml file to server side store it there then read the file in the dataset pass dataset to Database if it stores successfully delete xml file from server
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... "
|
|
|
|
|
|
One way is to Uploading the Xml file from Client to server side store it on Server. then read the xml file in to dataset, pass dataset to Database if it stores successfully delete xml file from server
A.Surendar Reddy
9848362333
|
|
|
|
|
hi friends
how to create password strength in javascript
i refered in google but some is not good
if u have any good link plz give me
regards
saravanan
|
|
|
|
|
Sorry but i am not clear What is password strength ?
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... "
|
|
|
|
|
|
|
I am trying to prevent the multiple login by the user. To do that i keep the data in the database on login and when logout i delete the data.
But if there is some error and session is timeout the deletion can not be done.
the session_End event of global.asax do not work. I use the sessionstate mode ="InProc"
|
|
|
|
|
You should set a timeout of your own on the database, so that logins time out in your system also.
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 )
|
|
|
|
|
i have already done that too but it gives the problem in various cases.
|
|
|
|
|
uttambro wrote: but it gives the problem in various cases.
What problem?
Regards,
Satips.
|
|
|
|
|
|
hi,
create sessions with userid then if another user is trying
to use it means it will give errors when the session value
is same.
check the session before creating the sessions.
session("userid")=uttambro
all the best
Sathesh Pandian
|
|
|
|
|
|
go to add reference select com tab their u can find Microsoft XML V3.0 select and add to your reference.
I think your problem has solved.
Thanks
Warm Regards
Prakash-B
|
|
|
|
|
i got it, Thank you very much
Sebastian
|
|
|
|
|
Hi
I have two text boxes and written the javascript function for both that will be fired onblur event.
i put the condition in javascript function
function Check(Obj)
{
if(Obj.value==0)
Obj.focus()
}
and calling as:
<asp:textbox id="tBox1" onblur="check(this)">
<asp:textbox id="tBox1" onblur="check(this)">
problem is before calling the onblur event focus goes to second textbox and simultaneouly call the Check function for first textbox that set the focus for tBox1 and so now Check() function calling for tBox2.......and stuck in loop........
please give me any solution ......Thanks
Dinesh Sharma
|
|
|
|
|
What is your scenario ? what you want to do ?
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... "
|
|
|
|
|
thanks to pay your attention...
my scenario is to validate two textboxes on focus lost if validated then move focus to next box else remain the focus on tBox1.
Dinesh Sharma
|
|
|
|
|
Strange !! so if user enters the something in the textbox at the same time you want to validate it if it is proper then move to textbox2
Try it
NameTxtBx.Attributes.Add("OnBlur", "javascript:MakeSum('NameTxtBx');");
Call this javascipt function on first textbox blur
javascript
var tags=document.getElementById('NameTxtBx');
var tags2=document.getElementById('AdressTxtBx');
alert(tags.value.length);
if(tags.value.length==0)
{
tags.focus();
}
else if(tags.value>0)
{
tags2.focus();
}
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... "
|
|
|
|
|
thanks buddy for your quick reply.........
but my problem is that i m validating the value (entered by user) onblur. if value is ok then move to next text box else focus remain to same textbox.
same condition is with next textbox.
but what is happening with me .....before firing the onblur event for tBox1 focus goes to next textbox (tBox2) and then onblur function called for tBox1.
but as tBox2 got the focus automatically and my function is setting the focus to tBox1 'coz' of wrong value. so tBox2 also fire the event onblur and it happens continuously.............
function Check(Ntxt)
{
switch(Ntxt.id)
{
case "tBox1":
if(Ntxt.value.length<11)
Ntxt.focus();
break;
case "tBox2":
if(Ntxt.value.length<10)
Ntxt.focus();
break;
}
}
calling the function
TextBox1.Attributes.Add("onblur", "Check(this)");
TextBox2.Attributes.Add("onblur", "Check(this)");
assume both the textbox's condition is false
Thanks
Dinesh Sharma
|
|
|
|
|
One thing is that disable the second textbox untill validation of first textbox is not valid ?
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... "
|
|
|
|
|
why don't you do it like this: using enabled or readonly properties you can make sure your user follows the correct direction you intended.
textbox1.enabled = true;
textbox2.enabled = false;
Textbox1 Events
onblur: if tbox1.value = "" { tbox1.setFocus(); }
else tbox2.enabled = true;
TextBox2 Events
onblur: if tbox2.value = "" tbox2.SetFocus();
|
|
|
|
|
I am using a grid view to display contents from a dataset.
I am using template controls for the columns (using databinder.eval),but when i try to access the contents of the template control,its giving
gridview_name.Rows[0].Cells[0].findcontrol("Label1").text it is giving me blank.
Could anyone suggest a solution to this issue?
Thanks....
Sid
|
|
|
|