1
Answer

how to search details of a student using alfa numeric number(04331A1209) in c#

hi friends,

               I have a  roll number 04331A1209 which is alfa-numeric . so I want this kind of  numbers  to be inserted into database .

 if I want a particular students details which has to  be searched based on the roll-number .so please explain me how to do that searching in c# language.

ex :                                                               ------------
      please enter roll no.   04331A1209    | search |
                                                                     ------------
 after clicking search button then the students details has to be printed in detailsview..

thanks in advance

 chiranjeevi

 
Answers (1)
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
I am sorry that I cannot help any more. I wish I could help. I hope someone else can help you and that they do help.
0
Imtiaz Khan

Imtiaz Khan

NA 12 0 13y
yes ping reply is coming you can see it from screen shot




0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
I am sorry that I cannot help very much but I am surprised that no one else is helping.

Can you ping that server? Do you know how to ping? You can go to a command prompt window and use the ping command with the url as a parameter, as in:

ping localhost

0
Imtiaz Khan

Imtiaz Khan

NA 12 0 13y
Hi thanks for the reply
                               following is try catch error msg and my firewall is already set off.

{System.Net.WebException: Could not establish connection to network.
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke()
at DeviceApplication1.localhost.WebService.HelloWorld()
at DeviceApplication1.Form1.button1_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at DeviceApplication1.Program.Main()
}
0
Sam Hobbs

Sam Hobbs

NA 28.7k 1.3m 13y
That is not the complete and accurate error message. Please provide the complete and accurate error message. You can use try/catch to get the complete error message.

Are you sure the firewall is allowing the connection? It might be not allowing it.