hi to all i am new to Web development. i started with simple page in which i decided to click on one page should move to another page along with the posted values.
my code is:
</head>
<body>
<form id="form1" action="default .aspx" method="post" runat="server">
<div> <asp:Text Box ID="TextBox1" name="Text1"...
User Profile
Collapse
-
Redirecting a page and getting tha values from the page
-
thanks for Your reply.Actually i did mistake in objecxt initialization. any way thanks for your replies... -
i am using Sql server 2000:
my database file code is
Code:class DataBase { OleDbConnection Con; OleDbCommand Cmd; private void CloseConnection() { try { Cmd.Dispose(); Con.Close(); } catch (Exception excp) {
Last edited by Curtis Rutland; Sep 2 '08, 02:58 PM. Reason: Added Code Tags - Please use the # buttonLeave a comment:
-
Exceute scalar need s an open and availble connection
hi to all ,
i am new to .Net development.
i have developed a service which doing some operation along with database. i have developed an another application which will insert the data into the database and tells the service to get the inserted data.this application works fine when at a time only one request is sent. but it fails when more than 5 . from service i will connect to database whenever i need and then i will close. the service... -
if it is my own application then it is no problem to design that as Form;but it is different application like gateway. the service needs to run this application in on start.to start the application i included the code in onstart funcion; that gateway application requires user interaction. so inorder to do that i need the service interact desktop property needs to be set....Leave a comment:
-
Making service to interact with desktop programmatically
hi i am new to .net development,
i have created a service which has forms to interact with user. now before starting the service , i need to change the property of service to interact with desktop.after installing i need to do this every time. to solve this issue i found a code that changes the value of service property.i have used this following code in afterinstall callback method()
RegistryKey ckey = Registry.LocalM achine.OpenSubK ey(... -
About Locking a Table
hi to all,
i develped an application with C# and Sql server2000. in that application, it will gets the maximum of Id from the Table and inserts a new record with maximum of ID+1. this function will be called by many threads.this leads to collision when two threads called the function at same time. so both thread will get the same Id. in order to avoid this i need to lock the table before selceting the maximum value of ID from Table. i dont... -
-
About Creating Pop Up window in C#
hi,
i need to popup message while some condition satisfies in Windows Application .How to do that? is there any component to pop up the message in C# windows application. Thanks in Advance. -
about showing Windows Error Messages
hi,
i have developed an Windows service with exception handling. i handled the exceptions by writing the errrors in file. but now i need to show the errors as like Windows eroor Messages. i tried messages.show . but it does not works. is it possible? if so,how to do that?
Thanks in advance -
About BeginReceive method
hi
the following code written for receive data continuously from other end;
i used tcplistener for listening and tcpclient for client socket.
public void WaitandReceiveD ata()
{
try
{
data = new Byte[TC.Client.Recei veBufferSize];
TC.Client.Begin Receive(data, 0, data.Length, SocketFlags.Non e, new AsyncCallback(A fterDataReceive d),... -
stroing time value without date in sql server
hi i need to store the time value alone in sql server database.i declared datetime type for that particular field. while inserting i need to store only time value, but it stores date also. how to insert time value alone for that particular filed?
i also tried " insert into tblname values('12.30 PM')" but it inserts as 12.30 pm on jan 1 1900 ..
please help to sort out this problem
thanks in advance... -
how to pass values from application to windows service
hi i have developed windows service. now I need to pass data from my application to that windows service. is it possible ? how to do that?
thanks in advance........ ....... -
calling an service from application
i have developed an windows service to receive messages from particular port using socket communication.t he service was not allowed to interact with desktop. now my new application needs to use that socket to send messages. so my requirement was sharing/calling the socket methods on the socket which is created in the service. how to do that? please help me .Last edited by pvenkatesh2k4; Mar 14 '08, 09:34 AM. Reason: since i forgot to mention windows service -
converting string to date
hi to all i need to convert string to date. it shows invalid string format for parsing
here is my code:
string s="13/07/07" //in dd/mm/yy format
DateTime d=DateTime.Pars e(s) //actually system time is in mm/dd/yyyy format
but this statement shows an error"String was not reconized as a valid Datetime"
what i need to do? do i need to rearrange the string -
thanks for your reply.and also i have found new problem with my receive method.Message( Alerts,Updates about a device) will arise from different clients. but my receive method receives all the message as a whole.but i need message by message.is there any mechanism to read message by message?...Leave a comment:
-
About Receiving Message continuously from another application
hi to all,
i am new to .net development. i have daveloped an application which is to receive continuosly from another using socket programming.i have used the following statement
while(true)
{
-----
client.receive( data);
-------parsing code
}
actually this code prevent me from using other controls in the form. but i need to access other controls.is any... -
regarding designing windows service with UI in C#
hi to all i am new to .net development and also to this forum.i need to develop a windows service with User controls like button and other controls. can i do like that in service. but i tried by placing controls in design view .after that i dont know how to code that. please help me. if u have any URL address to learn UI in windows service in C# .
other wise give sample application or design code.
thanks in advance....
No activity results to display
Show More
Leave a comment: