|
i have a grid view , let me say it has three rows,three columns,
they are
column1-roll no
column2-name
column3-marks.
row1 values are "1,ganesh,65"
now all i need is ,
when a button is clicked ,how to transfer this "ganesh,65" to prompt box
|
|
|
|
|
In GridView SelectedIndexChange event, use GridViewRow Class ro store the value for particular row and then you can use them where ever you want !
|
|
|
|
|
i am generating receipt no.let us take 1 to 100 numbers,
if i do any entry between 1 to 100 numbers then it show a mssage that this numbers alaready generated?
so plz help me soon??
thanks
|
|
|
|
|
Please help you with what? If you're asking for SQL query then you're in the wrong forum. Otherwise you need to be a little more clear as to what you are looking for and what the problem is. And don't ask for someone to write code for you.
only two letters away from being an asset
|
|
|
|
|
rummer wrote: if i do any entry between 1 to 100 numbers then it show a mssage that this numbers alaready generated?
Where do you want to generate this message ? You want some output from SQL Server SP or what ?
|
|
|
|
|
post this Message to Database Section of this forum.
Thanks and Regards
Sujit Kr. Mandal
|
|
|
|
|
I am taking five sessions in a same page ,and i remove only one session.
can we use Session.abandon for remove single session,
if not then wht we use for removing single session.
thanks
vivek sachan
|
|
|
|
|
rummer wrote: I am taking five sessions in a same page
I hope you want to say 5 session variables.
You can use this:
Session.Remove(session_name)
|
|
|
|
|
rummer wrote: can we use Session.abandon for remove single session,
No. You can't use Session.Abondon() to remove a single session for particular user. This destroys all the objects stored in a Session object and releases their resources. So once you called Session.Abondon() all objects set to null for the current session.
rummer wrote: if not then wht we use for removing single session.
Session.Remove(strSessionName);
This Remove an Item from Session State Collection
If you want to know more on session, please read this article :
Exploring Session in ASP.Net[^]
|
|
|
|
|
use this code
Session.Remove("sessionName")
Thanks and Regards
Sujit Kr. Mandal
|
|
|
|
|
I am using repeater in my app but by default it comes vertical in my page but i want horizontal and also each field in reapeater is dynamic.
|
|
|
|
|
Hi All,
I have one type of Device, that generates values after some specific interval. On the other end, I have asp.net application. I want display those values on my web page which is genereted by device.Please help me on this, that how can i start communication between device and asp.net application.
Thanks
Yrishi
|
|
|
|
|
Which kind of device is it ? Where it runs ? On Client System or Server ?
yrishi wrote: I have asp.net application. I want display those values on my web page which is genereted by device
You can create an Web Service for Intermediate Interface. Call Web Service from your Device S/W, which will Update your information may be on DB or other storage location. You web service can easily read those data on regular time interval .
|
|
|
|
|
hiiiiiiiii,
i was doing a registration page where i need to validate the text box to carry more than 5 characters........
i used custom validation n declared a function in source as this
function validateLength ( src, arg )
{
arg.IsValid =( args.Value.length >= 8);
}
and made the clientvalidation function as "validationlength" ........
but its not working ..............
anybody have the answer plz help me in this code..........
|
|
|
|
|
Are you getting any error or what?
atiskumar wrote: validate the text box to carry more than 5 characters
atiskumar wrote: arg.IsValid =( args.Value.length >= 8);
Isn't this contradicting?
|
|
|
|
|
hiiiiiiii,
thanx for your response........
no i am not getting any error but this is not working.....it is showing validation for more than 5 characters also.............
so can u help me in solving that problem........plzzzz
|
|
|
|
|
atiskumar wrote: arg.IsValid =( args.Value.length >= 8);
First tell me what above stmt. is doing?
|
|
|
|
|
hiiiiii.......
i don't know particularly i got it frm a website where that described its work as:
"The method checks whether the user's entry is at least 5 characters long, and sets the IsValid property accordingly."
so if u know any other method plz specify.....
|
|
|
|
|
You can very easily check in your code behind as:
if(txtBox.text.Length > 5){return false;}
|
|
|
|
|
and i think for javascript, you should try making that 8 to 5.
|
|
|
|
|
Hi friends,
I'm facing SqlTime out error in My web Application.Even though i increase my connection time out,it still showing error.
I've reastarted my Sql services but i't working for 1 hr 2 hrs then time out Repeated.
I checked each connedction ive used.it is closed properly.
What may be the error?
Thanks&Regards,
Mahez
|
|
|
|
|
Thats strange.
Try to debug your code and see where its taking time?
|
|
|
|
|
Hi,
I have a dropdownlist that contains items filled by a table. what i need is, when the user write any characters in the dropdownlist, only items that contains that characters must be appear.How i can do this?
|
|
|
|
|
I think AJAX control toolkit already has this in it.
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.
|
|
|
|
|
I'm so helpless,how to determine which radio button is selected?
|
|
|
|