|
ok, its good.
but i hve 1 more pblm.. dont hit me .. Okay...
now times v added the rows..
vat will happen if v delete a row.
mm m m m ......
|
|
|
|
|
i hve a great thanks for ur replies...
Thank u so much...
exact pgrmer.. Okay..
|
|
|
|
|
Always welcome.
Apurva Kaushal
|
|
|
|
|
What you need to do in that case is every time you are adding the control refresh the complete hidden field this you have to do in case of deletion also.
What I mean to say here is when you are adding a new one then clear the hidden field and then add the complete set again by looping through. And this has to be repeated in the case of deletion.
Apurva Kaushal
|
|
|
|
|
SamRST wrote: i want to enter multiple data's , like sales invoice. Does anybody have idea. Page should not postback.
Read the forum rules[^], paying particular attention to no. 2.
If you don't understand the basic principles of developing ASP.NET data entry applications, posting questions on a forum isn't going to help you. If this a commercial project, does your company know that you don't have the skills to complete it? The only advice I can give you is to go away, read a few books and and learn your craft.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I want to be able to get the windows Username of the user on my system from Active directory.
Anyone know how to do this?
macca
|
|
|
|
|
i dont think you can do this
|
|
|
|
|
It can be done, but it means granting appropriate privleges to the context under which your site runs, which is not always a good idea.
|
|
|
|
|
Sure it can be a mess... but in case you want to retrieve the username of whoever is using your app in the other side, I believe a simple My.User.Name in the codebehind may work.
Kazz
"Users are there to click on things, not think. Let the archs do the damn thinking."
|
|
|
|
|
I would like to bind resource files of various cultures to controls which gets created dynamically ..
thanks in advance ,
FAIZAL AHMED.H
|
|
|
|
|
Why don't you try searching on google for this question you are just as likely to find an answer
|
|
|
|
|
I would like bind resource files of various cultures to controls which gets created dynamically ..
thanks in advance ,
FAIZAL AHMED.H
|
|
|
|
|
|
Hi,
i have a requirement to send sms to users for every 5 min getting new data from databse. sending sms in diff conditions. Need to some on specific timings like that etc.
I want to do this using windows services. is it ok for me to start with this? Or any other better alternative is there to do this ?
G. Satish
|
|
|
|
|
HI,
YOu can use BackgroundWorker if you are working in Windows Form Application.
Naresh Patel
|
|
|
|
|
N a r e s h P a t e l wrote: use BackgroundWorker if you are working in Windows Form Application.
Background worker class is not limited to windows applications. It can be used in web applications too. It's juts a helper class for threading.
|
|
|
|
|
Yes windows services is a good way to go.
|
|
|
|
|
I disagree as he doesn't need a realtime process. I think too many people write WindowsServices when a service isn't specifically needed. I propose that you should write a simple console application and use the scheduling functionality of the OS to run that console application on the time frame you need.
|
|
|
|
|
ChrisKo wrote: should write a simple console application and use the scheduling functionality of the OS to run that console application on the time frame you need.
A console application that exists automatically once the job done, right ? But OP says, he needs to run it every 5 minutes. So the console application approach will open a console window every 5minutes on the server, do you think it's an issue ?
I was telling OP to use windows service because of this reason. A thread should work on the service which does the job and sleeps for next 5minutes. I still believe that will be a good idea. But you have a very valid point. Thanks for that.
|
|
|
|
|
i use this code in my page
value="<%#Session("lastname")%>">
and get this when i run project'''
Compiler Error Message: CS0118: 'System.Web.UI.Page.Session' denotes a 'property' where a 'method' was expected
so help me in value="<%Session("lastname")%>">
it is on 2003 .net
Raghvendra
|
|
|
|
|
why dont you set the session in the c# code
slname.text = Session["lastname"].ToString();
|
|
|
|
|
<%# %> = Databinding
<%= %> = Response.Write
I believe you want the second option. You also might need to call ToString() on that Session call. It's been a while since I've used 1.1, so I cannot remember if the default is already to return the string value.
|
|
|
|
|
There is a bit type field in my database , which stores 0 0r 1
i am writing the following code
<asp:Label ID="lname" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"HighAltitude").ToString()=="0" ? "Normal" : "High" %>'></asp:Label>
I have two records in my database , first occupy 0 and other occupy 1
but my both records in the gridview shows High status.
Please help.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
do you mean in the label they both show as high,
dont you need to do something like this
if (datafield == '0')
{
label = high
}
else if (datafield == '1')
{
label = low
}
what youve put above doesnt make sense i dont think
|
|
|
|
|
i was trying to do like the iif in vb.net and same can be done in c# via
a == 1 ? "2" : "3"
and i want to do in the html file, not in code behind.
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|