Thanks for your response, Well ! it worked partialy in displaying the same field in the data set but, one should be in ascending and other should be in descending order !
The above code didnt sort the PosID in desc order ?...
User Profile
Collapse
-
Can we use two orderBy in single Select statement ?
Hi every one !
Im workin on SQL05, My Question is !
i have a single field "PosId" in the DB,which i use as two fields one as PosId and PosID2 , Even though Both PosID & PosID2 are from the same fields ,i want to sort the PosID in ascending and PosID2 in desc,
This is what i tried , But ???
"SELECT PosID,PosID as PosID2
FROM tableXX
WHERE (condition... -
hellboss started a topic Browser not responding wen blk space is given at end of the Field with max length setin .NETBrowser not responding wen blk space is given at end of the Field with max length set
Hi !
Im working with asp.net, I have a Update Panel(Ajax tool) where two text boxes are placed and in Text box 1, i enter the Email and the max length for the field is set to 75. and another text box contain the phone no
The system is not responding (Script is not responding)when i enter the email and leaving the last (75th) letter as a blank space and Hit the tab button.
What actually should happen is... -
How to get a ASCII value for a set of text?
Hi ! im working with asp.net(vb)
I need to get the ASCII value for a set of text which is typed in a text box.
I use a text box and a button, clicking on the button should show the equivalent ascii value for the text which is typed in the text box.
How do i achieve this?
Please provide a valid solution. Thanks in advance. -
Storing a doc file in BLOB?
Hi !
im workin wit asp.net vs05 and with SQL server
i want store a document file in a BLOB field. My doubt is
1. Can a document file saved in a database or should it be transformed to text and get stored.
if so kindly tell me the procedure to achieve it !
Thanks in advance. -
How to store a doc file as it is in a field?
Hi !
im workin with the SQL server05, i want to store a document file as it is into a field in my database.
Some may suggest to extracting the text from the doc file to an array and passing it to the sp and save it ! I hope there should be a way around to store the document file as we save the images
My primary question is !
1. Can a .doc file be stored as it is in a data base field?
2. If so what data... -
How to open a Document file in a iframe ?
Hi im workin with asp.net , i want to open a document file using the iframe,
When tried with the src property it didnt work, but the src works for the URLs
So, my ques is "is it possible to open a .doc file in a iframe"
The code which i used is given below.
<iframe name="iframe" height="600" width="800" src="C:\SampleF older\TestDoc.d oc" id="Frame1"... -
How to use a confirm button ?
Hi every one ,
Im working with asp.net,
Iam having a sub procedure for delete() which is called in a page load if the requested query string arrives, the code is given below
Example:
--Inside the page load--
if Request.QuerySt ring("Delete") <> Nothing then
Delete(_var)
End if
----------
sub Delete(Byval _val as intger)
{
oSamp.Delete(_v ar)... -
Yes ! but i concluded it by using iframe tag which is used only for display.
But now the problem for me is, to dynamically change the source(src) in the iframe tag
I need to display a doc file inside the iframe and programmaticall y control the Src file path .Is there any possibility of changing it ? the below code for contains the code which i used.
<iframe name="iframe"
height="600"...Leave a comment:
-
Creating a text editor ?
Hi every one , iam working wit asp.net vs05,i need to built a editor to view the document. the editor should be similar to that of the message area in your site http://www.thescripts.com/forum/newt...ewthread&f=131,
if there is a better editor with minimal functional it would serve my purpose
My other question is, Can we use rich text box in asp.net ?
[SEE POSTING GUIDELINES]
... -
Hi ! Thanks for your Reply ,
I Tried it but it didnt work for the Format dd-MMM-yyyy , It didnt Compare those two dates ? :(
Any Solutions ?...Leave a comment:
-
Problem in Getting a AutoGenerated value after Insertion !
Hi im using asp.net vs05 with sql05 , I Started on creating a Stored Procedure where i wrote some insert statement and i just got the Auto Generated column value by using Scope identity or @@identity,
But what is my Problem is iam using Bussiness Logic , Xsd file (Table adapter to get access to the Database) , Out there in the Table Adapter i Tried inserting some values , it worked but i couldnt get the Auto Generated Primary key... -
The Problem is ! i cant alert the User by using the Msgbox, in the case if iam using the Objects and Comparing those two, but , I hope there should be an client side validation like ajax to do Accomplish this task !!
It would be fine if iam Not using a msgbox for alerting the user . Any other solution ??
:)...Leave a comment:
-
How Do i Compare Two Dates Inputs using asp.net validator ?
Hi Every one !
Im using asp .net vs05 , i My form im using two text boxes where the Date is entered in any format (dd/mm/yyy or dd/MMM/yyyy)
Ex : From date ,To Date
Now ! How do i Ensure that Todate is not Greater than the From Date, Is it Feasible with Asp.net Compare Validator ??
Kindly Provide me with a valid Solution !!!
Thanks in Advance ! -
What is the Regular Expression for a 6 digit Phone number field
Hi !
Can u tel me what is the expression (Regular expression) for the a field like Telephone number which Doesnt exceeds 6 digits
Ex:999999
d{5} or ([0-9])*
Can we use this expression , if its Wrong , kindly Suggest me the Correct one !
Thanks in Advance ! -
How to Auto Configure a Table Adapter
Hi Everyone !
Im using asp.net vs05 ,
I have a Couple of Table adapter ( in the Xsd file) which is used for updation and Insertion and viewing ,
What i Exactly needed is a code to Auto Configure the Table adapter automatically now and then, bcos my table structure may change from time to time.
Is their any code for Auto Configuring (may be if i might put these code in some button click event) ,if So... -
Can we add a Custom Msgbox with a icon as in "msgbox.critical"
Hi ! im work in vs05 asp.net , i would like to use a custom msgbox where i can attach my icon. LIke the Critical and information icon in the usual msgboxs, or else can we Change the icon of existing msgboxs.
Is it possible wit Asp.net , or any other alternative to achieve this ,
Thanks in advance -
Thanks For your reply !
Techincally i cant Delete starting from the Child but, Wil Check out the Cascade ! Can you provide me with a sample Query on Cascade?
Thanks in Advance...Leave a comment:
-
How to Delete a Chile Records from a Parent table ?
Hi everyone !
Im using sq05
I have a set of table which goes to 5 levels of Transation ,
ex:- Parent 1
- Parent 2(Child of Parent1)
- Parent 3(Child of Parent2)
- Parent 4(Child of Parent3)
- Child (Child of Parent4)
Each Tables have their Corresponding Primary key & foreign key Relationships,
What Happens is when i tried to Delete a Parent2 Record the Corresponding Child Records of Parent2 and in turn all... -
No activity results to display
Show More
Leave a comment: