|
Illegal Operation wrote: I keep getting the column name.
of course you will...
Illegal Operation wrote: GridView1.DataSource = dsProductDescription.Tables["Product"].Columns[2].ToString(); GridView1.DataBind();
GridView1.DataSource = dsProductDescription.Tables["Product"];
GridView1.DataBind();
use this instead
Illegal Operation wrote: I need to select the product code from the dropdownlist and then the description should be displayed in the textbox.
bind combobox and textbox, like this (second message)
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
<Columns>
<asp:TemplateField HeaderText="ProductDescription">
<ItemTemplate>
<asp:TextBox runat="server" ID="pDescription" Text='<%# Eval ( "productdescription" ) %>'></asp:TextBox>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox runat="server" ID="pDescription" Text='<%# Eval ( "productdescription" ) %>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I want change information in my web site by advancing time
for example:
I want to add 10score to all acounts every 5 minutes
I wrote a code like this:
public static class CoreTimer
{
public static System.Windows.Forms.Timer GlobalTimer =
new System.Windows.Forms.Timer();
static TimeSpan TikDuration;
public static int TikCount = 0;
public static void SetTikDuration(string time)
{
TikDuration = TimeSpan.Parse(time);
}
public static void CoreTimerStarter()
{
GlobalTimer.Tick += new EventHandler(AdvanceTime);
GlobalTimer.Interval = 300000;
GlobalTimer.Enabled = true;
GlobalTimer.Start();
}
static void AdvanceTime(object sender, EventArgs e)
{
}
}
but AdvanceTime never run!!!!!!
what can I do?
how can I run a function evey 5minutes in website background????!!!
.
|
|
|
|
|
Masterhame wrote: but AdvanceTime never run!!!!!!
an it will never run. 5 minutes is LONG time for webpage to process things. The client will timeout, unless you kept it undating it frequently.
Masterhame wrote: how can I run a function evey 5minutes in website background????!!!
You can not run from the website background. Let me take that one back, technically you can run the timer, but you got to remember, website is inheritly stateless. What that means is, you objects will get created and as soon as the page is done processing, it will get sent to the client and boom, it is gone.
So, what you want to do is, write background application (service may work for you) let it run on the background updating your database.
Yusuf
|
|
|
|
|
this 5min is not related to client actions
may be no client open any page of the site, but I must increase that values every 5min
5min in an example, may be some times every 1hour, and some times every 5second
and this time is not related to any user login in!
can i use background process???
my timer must work forever in background
how can i define it?!
|
|
|
|
|
Masterhame wrote: can i use background process???
not on web applications. See my earlier post
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
|
Looking for a freelancer type .net senior professional to work in a product on a full-time or a part-time basis. A must have skills:
- Great communication
- Positive attitude
- Must know how to read, respond and understand business requirements
- Critical thinker, must recommend better ways of doing things
- Strong .net, C# with structured coding style
- Strong database design, SQL
- Prototype, UI, HTML, XML, AjAX
- How to do modular and reusable design
- Not looking for manager type person who does not like coding or design
- Access to phone and voice chat and email
Should have 20 to 40 hours available to work on the product per week. if interested write to *removed*
modified on Sunday, March 8, 2009 5:52 PM
|
|
|
|
|
software101 wrote: Looking for a freelancer type .net senior professional to work in a product on a full-time or a part-time basis. A must have skills:- Great communication- Positive attitude- Must know how to read, respond and understand business requirements- Critical thinker, must recommend better ways of doing things- Strong .net, C# with structured coding style- Strong database design, SQL- Prototype, UI, HTML, XML, AjAX- How to do modular and reusable design- Not looking for manager type person who does not like coding or design- Access to phone and voice chat and emailShould have 20 to 40 hours available to work on the product per week. if interested write to avermav (at sign) yahoo (dot) com
are you asking for help or recruiting someone
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
|
|
I am removing the reply to on this post, because CP has a job board. If you can't afford to advertise, why would anyone risk working for you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi
my page contains a button with a javascript click event.
when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in the page's validation summary.
i tired a few code lines:
function btnLogin_Click()
{
if (AllValidatorsValid(Page_Validators))
{
var a = document.getElementById('ctl00_ContentPlaceHolder1_txt1').value;
var b = document.getElementById('ctl00_ContentPlaceHolder1_txt2').value;
alert(a + " " + b);
}
}
i also tried:
if (Page_isValid)
{
....
}
nothing seems to work.
|
|
|
|
|
found the answer.
if (Page_ClientValidate("g1"))
{
.....
}
g1 is the validation group.
|
|
|
|
|
Hi,
I have developed a project with asp.net 2.0 & sqlserver 2000. In my project there is a user account and i want to check who is online, after login their account.
Thanks
|
|
|
|
|
Two methods
1 - When a user logs in, keep login id(or any other identifier) to an application variable. When they logout, remove from application variable.
2 - Keep a login status column in your database table. Toggle it's value when user logs in and out.
|
|
|
|
|
Hi Friends,
My System made up of
Visual Studio 2005.
C# language
Javascript
Run on Internet Explorer 5.5 or greater version
Currently i am working on one project which is totally on ajax system as well as some client side javascript also included, all working fine but when any user disabled the Script it's not working, i want to give that user notification message as well as enabled the Script at run time can it possible, please help me regard this....
Thanks and Regard's
Sasmi
|
|
|
|
|
Use the <noscript>[^] tag. Something like
<script type="text/javascript">
window.location = "YourAppEntryPage.aspx";
</script>
<noscript>Your browser does not support JavaScript! AJAX controls won't work</noscript> Above code redirects to your start page if JS is enabled else displays the <noscript> tag content. Put the above code in a page and make it as your default startup page.
Not sure there is a better way to do this. If yes, I would be interested to hear it.
|
|
|
|
|
Hello sir,
I wish to use rsa algorithm to encrypt my data. Can i create my own key to encrypt an decrypt my data? As i'm a beginer, i wish to get a detailed explanation..sir.
|
|
|
|
|
|
Hi Coders,
My Tab Container(Ajax Control) is not visible when i see it while running the page it has controls on it So no chance to get invisible. I used it with ScriptManager n under Update Panel Control.
Any help will be Appreciated
Thanks
|
|
|
|
|
Hi all,
Do anybody have the code for disabling the back button in Internet Browsers.
I have tried this code but this isnt working :
window.history.forward(1);
I even placed in the head section but it is not working.
can u please help me since it is very urgent to me
Regards,
murali
|
|
|
|
|
ballameharmurali wrote: window.history.forward(1);
This code does not disable the back button, it is just navigation hack which could fail with browser version and also disabling javascript.
You cannot/shouldn't disable the back button. Rather than relying on the browser you should design your system(presuming there is a server side) to detect/prevent the user's activity.
|
|
|
|
|
HI,
please ensure following to get the desired result.
(I AM ASSUMING YOU ARE USING ASP.NET 2.0 AND C#)
Simply use the page directive OutputCache Location = "none".
This should help.
If not do let me know, the behavior faced.
PLEASE DO NOT FORGET TO MARK AS ANSWER IF FOUND USEFUL/RELEVANT, SO THAT OTHERS CAN FIND IT EASILY.
Software Developer,
Pune,
India
|
|
|
|
|
Hi,
I am developing an application using ASP.NET mobile controls using Visual Studio 2008
Once i have given the correct username and password and click the submit button it has go to next page..
I used this syntax inside the button_Click method..
Response.Redirect("Default.aspx")
but am not getting the desired output..
Can anyone tell me where am i making mistake..
Thanks in advance
|
|
|
|