|
I'm using VB.NET and Informix database
I'm trying to get last serial id whenever i perform an insert statement.
Here is what i have so far
Insert into Table1 values (0,"Mouse")
SELECT DBINFO('SQLCA.SQLERRD1') FROM systables WHERE tabname = Table1
My problem is, sometimes i get 0 as the ID although the row has been inserted
Can someone please help
Thanks
Read, Read, Read instead of asking Why, When, Who, and How?????
|
|
|
|
|
hi
i want to save my connection string in web.config . what is best way to encrypt and decrypt connection string ?
can you get me a good reference ?
tanks
|
|
|
|
|
|
|
You can refer to the help available with Visual Studio Web Developer Express Edition 2005. It has a walkthrough on encrypting and decrypting connection strings in web.config.
|
|
|
|
|
Hi,
Can anyone help me to open an instance of outlook with an attachment on click of button in a web page using C#?
Thanks in advance...
Sumithra Guturi
|
|
|
|
|
In my site I need to use ajax(HttpRequest class) to let the user go through a process . In order to use ajax I have employed some http handlers. I need the requirement of limiting access to my http handlers to just users that are in the related page. Is there anyway to limiting access to http handlers ? If you recommend that I have to use something other than http handlers I appreciate it .
Thanks in advance
|
|
|
|
|
How do u use IIS i'm totaly stuck
Anyone can help me
|
|
|
|
|
what do you want to do? Install? Configure?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I need to publish my site in my network
using IIS
|
|
|
|
|
Create a virtual directory in the IIS for your site and copy only the files that is needed to run the application.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
You need nothing to do with IIS if you use Visual Studio 2005 the IIS is build in into environment and will automatically starts when you debug the webpage.
|
|
|
|
|
I need to publish my site in my network
using IIS
|
|
|
|
|
duo!@# wrote: I need to publish my site in my network
- Are you planning to publish your site on LAN or on Internet ?
If in LAN, copy your files to a network machine ( say server ). ASP.NET should be present in the server to get ASPX files executed. Goto IIS - > Default Website - > Create new virtual directory which points to your folder where files are stored. Now type URL like
http://SysName/VirtualDirectoryName/Filename.aspx
|
|
|
|
|
Hi all,
I have a problem in extracting data from xml file.
i have a data table which i assigned a xml file to it.
xml file contains products table and the query i need is
to get the prices > 100
i am trying this query
select * from products where price>100.
i want the above query to be used from xml file
i will appreciate if someone help me regarding this
|
|
|
|
|
use DataView.RowFilter Property. DataView will have the records based on the condition. Something like this...
Dim dv As DataView<br />
dv = DataTable.DefaultView<br />
dv.RowFilter = "product > 100"
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello friends i have a XMl File for ads i want to calculate number of nodes
this xml file have So that i can repete my control but i don't know how to get total number of nodes in my xml Useing JAVASCRIPT
pls if any body know help me
Thanks in advance
|
|
|
|
|
The below is my javascript code to move one listbox to another. It works fine. But i want move only two items from the source listbox and also once i moved the items , the source list will be unselect(ie., back to original position) pls give the solution ASAP.
function fnMoveItems(lstbxFrom,lstbxTo)
{
var listboxlength = document.getElementById(lstbxFrom).length;
var boxLength = document.getElementById(lstbxTo).length;
var count;
var lenListSelected=0;
var Check= document.getElementById(lstbxFrom).selectedIndex;
if(Check!=-1)
{
for(count=0; count<listboxlength;count++)
{
="" var="" selecteditem="document.getElementById(lstbxFrom).options[count].selected;"
="" if="" (selecteditem="=" true)="" lenlistselected++;
="" selectedtext="document.getElementById(lstbxFrom).options[count].text;
" selectedvalue="document.getElementById(lstbxFrom).options[count].value;
" index;
="" isnew="true;
" (boxlength="" !="0)
" for="" (index="0;" index="" <="" boxlength;="" index++)="" thisitem="document.getElementById(lstbxTo).options[index].text;
" (thisitem="=" selectedtext)="" break;
="" }
="" }="" boxlength="document.getElementById(lstbxTo).length;
" (isnew)="" newoption="new" option(selectedtext,="" selectedvalue,="" false,="" false);
="" document.getelementbyid(lstbxto).options[boxlength]="newoption;
" if(="" lenlistselected=""> 2 )
{
alert(document.getElementById(lstbxTo).length);
var count;
for(count=0;count
|
|
|
|
|
Hai,
First upon thanks to all for the help upto now and i expect in the future too...
Today i have a small problem..
I want to show the date value in label field but the value should be formatted according to the format given in the resource file.
i am using asp.net c#
Please anybody help me ...
Regards
Alex.
|
|
|
|
|
what is resource file, explain it or explain what format u want...
Pradeep Reddy
|
|
|
|
|
Hi i am using visual 2003,
In that its possible to use infragistics tools?,
Actually i like to know abt that...,
Plz any one tell me whats the advantage in that and give me some site details tyo learn abt that..,
Thanks,
Regards,
Magi
|
|
|
|
|
try www.infragistics.com
best regards
|
|
|
|
|
how we can perform clientside validtion that user canot select more than five items in the list bosx(Client side only)
|
|
|
|
|
By using javascript i think thats the best way to do at client side
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
JavaScript is Bes Way.
If you need the JavaScript Reply this message
Best Regards,
Chetan Patel
|
|
|
|