__avd 1,826

Welcome,
You can do (search from database) in many ways - executing queirues or LINQ to SQL or EntityDataModel. Please show your code to us so we can suggest or guide you on that issue.

sajee1 commented: View: private void textBox1_KeyDown(object sender, KeyEvent Args e) if (e.KeyCode == Keys.Enter) { MessageBox.Show(controller.CheckAndGetBarcode()); } } Model: public class ProductModel { public string s; public st +0
__avd 1,826

I'm considering serialization as a means of creating a simple database for an application.

Please read [URL="http://en.wikipedia.org/wiki/Serialization"]Serialization[/URL] wiki.

__avd 1,826

The Timeout property cannot be set to a value greater than 525,600 minutes (1 year). The default value is 20 minutes.

The following code example sets the timeout session attribute to 30 minutes in the Web.config file.
[code=text]

[/code]

You can override this setting programatically:

[code]
Session.TimeOut=50;
[/code]

__avd 1,826

Are you using "Form Authentication"? What ScottGu said '[URL="http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx"]forms authentication timeout value has changed to be 30 minutes by default[/URL]'.

__avd 1,826

Use OleDB data provider or Office InterOp API.

__avd 1,826

PS ask me about any other details, cus there is always details.

Will you please?

__avd 1,826

Your have to set environment variable PATH with "C:\j2sdk1.4.1\bin>".

However you may run this program.
[CODE=Java]
C:\j2sdk1.4.1\bin>java -classpath d:\oracle\product\10.2.0\db1\jdbc\lib;c:\; OraThin
[/CODE]

stephen84s commented: Wrong Information -2
__avd 1,826

You need a Web Service (develop or buy) and JavaScript code to invoke Web service method.

serkan sendur commented: to neutral yesterday -1
sknake commented: No, you don't. You need a web client like normal browser traffic. +0
__avd 1,826

chubbs1900>I am trying to self teach C++ and I am to the point of loops. ...

adatapost>Tryout.

[CODE]

  1. 1 1 1 1 1
    1 0 0 0 1
    1 0 0 0 1
    1 0 0 0 1
    1 1 1 1 1

  2. 1 0 0 0 1
    0 1 0 1 0
    0 0 1 0 0
    0 1 0 1 0
    1 0 0 0 1

  3. 1
    2 4 3
    5 7 9 10 8 6
    11 13 15 17 18 16 14 12
    [/CODE]

mvmalderen commented: Sorry, but you're a year too late!! BTW, very useless post! -2
__avd 1,826

I appreciate your comments. I post my suggestion according to the question.

[QUOTE]The problem is, i am able to get the data from the database and populate my HTML, but after that, if i edit the content on the html file for example a text box. [B]i can't insert those variables to my database again. [/B]Any suggestions?
[/QUOTE]

My answer was "Update database".

And now, where is your answer?

serkan sendur commented: wrong -1
__avd 1,826

Yes, you are on right way.

javaAddict commented: Again you repeat other's people posts without any usefull contribution -1
__avd 1,826

You have to write code to update database. Please follows post #2 and #3.

stephen84s commented: So what was the need for you to post, if you were gonna reference the posts above u -2
__avd 1,826

[QUOTE=history84084;881047]I am using the following code to show existing C# forms. It works for some and not for others Suggestions would be appreciated!
Form frmFDDsearch = new frmFDDsearch();
frmFDDsearch.Show();[/QUOTE]

Undoubtedly, frmFDDsearch is a sub-class of Form class.
You can't access those methods which are defined in frmFDDsearch class.

serkan sendur commented: you take advantage of Daniweb's solved threads system -1
__avd 1,826

Cut those brances of a tree on which you are hanging.

jephthah commented: what? are you STILL HERE? -2
__avd 1,826

Use [B]System.Data.DataSet [/B]class or [B]System.Xml.XmlDocument [/B]class to load xml document and navigate its element.

serkan sendur commented: why dont you provide some code -1
__avd 1,826
serkan sendur commented: i looked at those before i posted this -1
__avd 1,826

Hi All,

Currently i'm using sprintf to copy from pointer variable to a character array.

sprintf(length,"%.*s",(int)len,part1);

where part1 is a pointer to a character array..
length is a characteter array too.

Is there a way i can do the above thingy to copy the part1 to a integer variable?

Thanks in advance

Yes, you can copy content of part1 string to length string variable. Your code is correct.

jephthah commented: no, it's not. -2
__avd 1,826

Dear PhoenixInsilico,

[QUOTE]JamesCherrill's anwer is appropriate.

  • A field may be an instance variable or a static variable.[/QUOTE]

They are variables but used in different context.

BestJewSinceJC commented: you repeat other people's answers a lot. -1
__avd 1,826

Dear FussyRose,

Your program is written for any hardware (because you choose java platform). After all, Java source code needs compilation if you want to change the os.

so, compile your java program and run it on Linux without hesitation.

Good Luck

verruckt24 commented: He has certainly not written it himself. Try thinking before you dole out advice -1
__avd 1,826

tux4life >Unportable rubbish which doesn't work.
adatapost>Oh!!! Buddy you should have to test this code before judge.

siddhant3s commented: Or you should shut up when you know you are not solving any purpose of the problem in hand. -1
__avd 1,826

[QUOTE=Duki;872239]I am trying to convert an array of longs to an array of chars. There are 1081 elements in the long array. Each element is 4 digits long. Is there a function in C++ that will convert a long something I can store in the array or could someone point me in the right direction? I'm not sure how to go about solving this one.

Thanks[/QUOTE]

Yes, it is.

Here is a code.

[CODE] char p;
long a[4]={1,1,1,1};
int i=0;
p=(char
)a;

while(i<16)
{
printf("\n%c",*(p+i));
i++;
}
[/CODE]

mvmalderen commented: Unportable rubbish which doesn't work :( -1
__avd 1,826

I think the following code help you to solve your problem.

[CODE]
char s1[100]="1123#!3344#!948#!20";
char *p;
int i=0;

do
{
p=strtok(s1+i,"#!");
i=i+strlen(p)+2;
printf("\n%s",p);
}while(p!=NULL);
[/CODE]

[QUOTE]
Note: strtok is prototyped in string.h header file.
[/QUOTE]

iamthwee commented: ... -4
__avd 1,826

[QUOTE=shameemmMbstu;862585][B]i have developed a c# project now i have to make it an Exe so that i can install it on any system and run it...

the bin which contains the exe only runs in the system which has .net installed and does not executes where there is no .net....

as this is my first project can any one tell me how to make my application an exe file so tat it can be installed and executed on any system..[/B][/QUOTE]

Application deployment is not an issue with .NET. Windows Xp, Vista Operating systems already have .NET Framework. If installed version of .NET framework are not suitable then you have to install a new one.

The easiest method to deploy an application is to copy+paste Bin folder anywhere.

sknake commented: wrong information and bad recommendation. +0
__avd 1,826

Dear Ancient Dragon,

Thanks for you valuable comments. I found that a far pointer provides more addressing capability and I have used same code as it was published in my post with little modification and compiled with Turboc 3.0.

Thanks.

Salem commented: Nope, you just dug a deeper hole for your future self. Get with the current century, and get a compiler which is compatible with your actual OS and processor -6