User Profile
Collapse
-
Please Use DataGrid's Property EditMode. Set it to "EditOnEnte r" -
Wanted to work DataGridViewComboBox in single click.
Hi
i am working in vb.net with datagridview.
the problem is if i set the EditMode property of datagrid to "EditOnKeyStrok eOrF2" then to select the dropdown we have to click three times on it and if i set EditMode to "EditOnEnte r" then RowDelete event is not firing.
i wanted to have dropdown able to select on a single click and delete the row by selecting and pressing delete key.
Pls... -
for more knowledge go through these once ...............
Code:Sending a text e-mail: <% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From="mymail@mydomain.com" myMail.To="someone@somedomain.com" myMail.TextBody="This is a message." myMail.Send set myMail=nothing %>
Leave a comment:
-
Please send exact code so that we can see properly. i think what you are using it as string and that must be in qoutes.
as per me syntax for creating temp table should be
.Code:strSQL="CREATE TABLE #t_temp (MemberID int,First_Name Varchar(50),Last_Name Varchar(50),Introducedby int)" connnection.execute strSQL
...Leave a comment:
-
thanks for your reply friend.
we think thats like overkilling to do like this. to just omit a header (which do not cause any harm) i m not going to do tjhis much.
and also my TL told me better to leave it as it is.
so now i am not worried about that now..
but YES..any cheaper solution u may have would be helpful for me.
Thanks again CrowCrew.
grateful to you
Rahul.Leave a comment:
-
i hope this will work for u satish
Code:<body> <form> <input type=checkbox onclick="hideTable()" id=chk name=chk /> <br /> <table id=Table1 border="1" cellspacing="2" cellpadding="2" bordercolor="Purple" > <tr> <td>ok1 </td>
Leave a comment:
-
also i am trying to use this script now for removing header
Code:Dim WSHShell Dim myHeader Dim myFooter Set WSHShell = CreateObject("WScript.Shell") myHeader = WSHShell.RegRead("HKCU\Software\Microsoft\Internet Explorer\PageSetup\header") myFooter = WSHShell.RegRead("HKCU\Software\Microsoft\Internet Explorer\PageSetup\footer")
Leave a comment:
-
Hi CroCrew,
Thanks for ur help. problem is solved in similar code but in little different way.
i m using it as here
Code:table.landscape{ filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=1); } <TABLE width=98% align=center class="landscape" > <tr> <td> <table> <table> </td> </tr> <tr>
Leave a comment:
-
printing page in landscape
hi all
i have one page that generates a report (basically a table ) in ASP.i have a button that prints that page using window.print(). now i want to print that page in landscape mode (by default its printing in potrait mode). i dont want to ask user to change orientation from print window.
pls let me know if we can have any such javascript or server script that either change the printer setting or make the page or div to be printed... -
hi Jared
can you please help in this regard also
http://www.thescripts. com/forum/thread743115.ht ml
i have posted this before.
thank .
RahulLeave a comment:
-
hi Jared
Thank you very much for your lots of lots of help.......
i have done this already. you can check that if you go through the code(i know you wont like to go through that all and reason is obvious) ok leave that all. i made a new button 'Add New Value" that enabled the "insert" button and reset all the controls. and also performing validations before insertion on the page for nulll values and special characters.....Leave a comment:
-
hi jared
sorry for any inconvienvience . as i m new to all this and i m not familier with all this..and i m learnig asp.
but thnx for your help...i m not facing any prob in this now...insertion/navigation all is working..but i think thwrw may be some better way.... my question is that ur previos code wont allow me to insert a new value again into same browser...right ??..does it??...
so i was asking for any better solution.......Leave a comment:
-
hi jared
thnx for ur interest in this
but do yu think it would be a good approch. it wont allow the user to insert any value again on the same browser. i wnated to do that also...
what i m doinng now is to disabled insert button and adding a new button to ie 'add new value' and which resetal the fields and then enabled insert button..
and also i can not make insert button's value as submit coz i have more butons on my...Leave a comment:
-
thnx agian for ur help and i hpope you will chck it again
i have one concern in ths that
would it not create more complexity coz for first time i was checking for value only once and here i have to checjk for every item in select box..
my question was if i have less no of items in my dropdown than my code was ok but what if i have large no of items in that...
pls let me know if m concern is wrong or any...Leave a comment:
-
now i have done this for doing on the same page all the things. now problem is solved but pls let me know if i can do better that this.(pls dont check for nameing conventions ..its my learning application...i know it is little difficult to understand due ot lack of that/...)
pls consider...
thnx again
<html>
<head >
<title>Move </title>
<script...Leave a comment:
-
hi
thnx for ur interesr in prob
it was my insert .asp
<html>
<head>
<title>Dispal y on same page</title>
</head>
<body >
<form>
</form>
<%
set Conn = server.createob ject("adodb.con nection")
Conn.Open...Leave a comment:
-
how to check for page refresh and page submit?
hi,
can some help me in this regard
i m entering some values in my databse from my asp page. for this i m using a submit button which submit the form to a new page that is 'insert.asp'. this page perform insertion and redirect it back to my previos page.
can i not do this insertion on the same page?
if i wirte insertin code on the same page it perform insertion for the page refresh also...thats why i m using another... -
-
gotonagle started a topic how t orestore values back to drop down list afterpost backin ASP Classichow t orestore values back to drop down list afterpost back
hi , i m new to asp and leraning it...
i have only one page in which i take some values like name, dob and education degree. after post back i return to this page iteslf.. but the values in dropdown list is not tha what i hadve selected(coz it do not support viewstates).
is there any method to retrive the values back in drop down.
for text i m usoing like this.
<tr>
<td align="right"...
No activity results to display
Show More
Leave a comment: