|
when i am binding gird in page load it showing default values for check boxes in templet field means what ever at design time those but if i bind in button click then this is not happpned why is it so..
|
|
|
|
|
nikhil1234 wrote: hat ever at design time those but if i bind in button click then this is not happpned why is it so..
When button is clicked page will post back and will execute all the contents in the page load. So try to call the binding function in pageload like this
if(!isPostBack)
{
}
|
|
|
|
|
Install this software and you got yourself an online shop to sell ANYTHING!
..and run a professional internet business that will work for you 24/7,
so you have the freedom to quit your job and do things you really want to do with your time.
* Tiny size, only 2.0MB
* Automatic shipping fee calculation
* Unlimited number of items and categories
* Order and Accounts Manager
* Customize timeZone Support
* Customize Stock State Support
* Batch update Product price, desc, stock state
* News Manager
* AJAX support
Please Visit http://www.nzmk.com[^] to find out more!
Running on ASP .NET 2.0 & SQL 2000/2005
|
|
|
|
|
hello there,i know its not the righ place to ask some query,im cannot access my database in a query pane..i made a database where the username column has value and the password has none for e.g Username:93838383 and password:?..i just want to update the password column inputed by the user
I make the query in th stord procedure but th error said: Incomplete SET clause..unable to parse query text
i just want someone to check out the query and pls tell me what wrong or incomplete to my query
UPDATE UserTable
SET ((UserTable.[password] = [@password])
WHERE ((UserTable.username = [@username])
another thing is whenever the user visit the site,when the user type the password,it could not be updated anymore..unless i just want to use "select clause" because password column have now values...
here is the query
SELECT COUNT(*) AS Num_of_User
FROM UserTable
WHERE (((UserTable.username)=[@username]) AND ((UserTable.pasword)=[@password]));
error:unable to parse query text
it is correct query for accessing the values from the database?
im using a visual web developer IDE
thanx for helping
|
|
|
|
|
blitz2bleach wrote: I make the query in th stord procedure but th error said: Incomplete SET clause..unable to parse query text
Count your parentheses.
Also, don't you want to specify the parameters @password and @username instead of the fields [@password] and [@username]?
blitz2bleach wrote: error:unable to parse query text
Same here, don't you want to specify the parameters @username and @password instead of the fields [@username] and [@password]?
Check the spelling of the field pasword / password.
---
single minded; short sighted; long gone;
|
|
|
|
|
hai,
I have a software in CD which contains .dll and an .exe of a software.I copied that software folder and put inside of a asp.net application and create a link to execute the software.but it didn't work.plz give me the solution.
Example:
---------
<Run the Software>
it gives the error that .dll files are needed to execute.
I made a folder and put both .dll and .exe in that,but error created.
please give the alternate solutions to execute the software through the Link in .net.
|
|
|
|
|
I'm working with Visual Studio Express 2005 and ASP.NET.
I want to handle mouseevent (like mouse move) over a panel or image object, is it possible?
|
|
|
|
|
onmouseover and onmouseout (google em)
|
|
|
|
|
Really, i've tried to find, but nothing about ASP.NET, all about C# for Windows using System.Window.Form ( i'm looking for the web )
|
|
|
|
|
|
How? Please can you show me some example to interact between ASP.NET and javascript?
|
|
|
|
|
Hi friends,
Is there any Asp.net Open source chat program available. if not can you please tell me how to build one.
what the initial things we need to keep in mind when building such application.
How chat room works
How private messaging works.
How to do scalabilty and performance.
Thanks in advance
|
|
|
|
|
There are many articles in the CodeProject about chatting rooms, take a look at it.
|
|
|
|
|
hello again,
thanks for ur solution about logout and validations. today i have anather problem.
i have 2 dropdownlist on page the second one filled with values from DB according to the first dropdownlist selected value. so far its work well but the probelm each time i the first dropdownlist selected index changed it do a postback and the page flashs or something like that. i want it do the postback in smoth way.how can i do that? i dunt know if u understand me but the page refresh in an agressive way which annoys the users.
thanks in advance for any help
|
|
|
|
|
Postback is the standard way of requesting the sever in ASP.NET, otherwise you may use AJAX.
|
|
|
|
|
Hello.
I'm useing a calendar control on my page and I want to let the user pick a date from today untill 14 days from today.
Is there a way to limit the dates that will appear on the calendar control (I want to avoid haveing to check after the selection what did the user select)?
Thanks in advance,
Roy.
|
|
|
|
|
sdsdsds@hotmail.com wrote: Is there a way to limit the dates that will appear on the calendar control (I want to avoid haveing to check after the selection what did the user select)?
Yes there are..But since you are using some custom controls , i don't now how much you can customize that ? You can do one thing when the date is assigned to the textbox call some javascript function and check the date is correct or not. If not prompt the user for entering correct date.
|
|
|
|
|
Hi all,
I am designing a form in which i show employee info when the user clicks a button.I want that when user selects an employee the current state of the page be saved and the user is directed to other page where he does some thing and when he hits return the saved context is reloaded. Is it possible using session variables???
|
|
|
|
|
Try and store the values in a database table rather than session variables.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Dear friends,
I want to populate a formview or details view or list view in such a way that empty rows will not be displayed at all i.e. suppose there are records in a database having name, age and qualification field. I have some records which do not have age field. I want to populate formview or details view or list view in such a way that for those who have age their records are diplayed alongwith their age. But who don't have, instad of displaying empty fields I do not want to show its row alongwith its label (age) at all.
One more thing. How to display multiple records (say 5) in formview or details view or list view alongwith paging (I know paging but don't know how to display particular no of records per page).
I will be very much thankful.
|
|
|
|
|
Why not put a WHERE clause in your SQL? WHERE age != null OR age != ''
|
|
|
|
|
Sir,
If I will use that sql query then null age records will not be included in dataset. I just want to eliminate empty rows alongwith their lables in my details or form or list view.
|
|
|
|
|
Hi Friends ,
Can any one let me know how can we upload a video and play it in .swf format as in www.youtube.com.
Please help me its very urgent....
Waiting all the .net gems to answer.
Thanks all for reading and answering in advance.
Live Life King Size
Asif
|
|
|
|
|
Dear experts,
I have built a composite control and trying to use it on a web site project.
When I'm compiling, I get this message:
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. V:\LiorTest\Login.aspx 44
Beside that error, I get another error message when compiling:
"Error 19"…….. unc……….. because the network BIOS command limit has been reached.
I have read the appropriate article regarding the last error and set the registry as requested but still I get this error.
the Web.Config is empty.
How and where can I set the security for the composite control?
Can I see an example?
|
|
|
|
|
There are two ASP.Net pages. Page-A contains GridView control, whenever user adds a new row or edit existing row can see an image, on click of image a new window pops-up which contains a textbox and a button. Whenever user types something in textbox and presses the button the text should be transferred back to the EDITABLE or NEW Row in GridView in one of the textbox controls.
Now the problem is how to do that.
Thanks.
The Phantom.
|
|
|
|