Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

NET India

@NET India
About
Posts
477
Topics
282
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Show Column Name once for similar records
    N NET India

    I'm fetching records from a table as shown below <b>ID Name PID</b> 1 Ram 10 1 Ram 20 2 Shyam 30 2 Shyam 40 2 Shyam 50 3 Rohit 60 But i want to display records as shown below i. mean to show common name for similar fields <b>ID Name PID</b> 1 Ram 10 - - 20 2 Shyam 30 - - 40 - - 50 3 Rohit 60

    Database

  • Retrieve the value from Dynamic Sql
    N NET India

    Hello Friends, I've a dynamic sql and it's returning Max(TRN_AMOUNT) now i've to store this Max(TRN_AMOUNT) in a variable i.e. @NUM. Here is my code DECLARE @STRSQL VARCHAR(MAX),@NUM VARCHAR(MAX) SET @STRSQL='SELECT MAX(TRN_AMOUNT) FROM TRN' EXEC(@STRSQL) PRINT @NUM

    Database database

  • How to register DLL manually in VISTA
    N NET India

    Hello Friends, Can anybody let me know How to register DLL manually in VISTA Thnx

    System Admin tutorial

  • Print in Landscape format
    N NET India

    Hello Friends, I want to print in Landscape format. And here is my code below .landScape { width: 100%; height: 100%; margin: 0% 0% 0% 0%; filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=3); }**

    ........

    but this code is not working**

    ASP.NET

  • How to Total Shared Variable in Crystal Report
    N NET India

    I have a shared variable of sub report in main report. I want to sum it.

    Visual Basic tutorial

  • tabcontrol not working when using select command of gridview
    N NET India

    Hello Friends, I've a tab control in my form. and a GridView When click on the Select commaqnd of GridView then it's not displaying my tabcontrol and throwing a javascript error as shown below Sys.ArgumentNullException: Value cannot be null. Parmeter name: element

    ASP.NET javascript help

  • Convert a String into datetime
    N NET India

    Hello Friends, I've a date in string variable i want to convert this string into datetime format(mm/dd/yyyy) but it's giving me an error. Because my date is stored in dd/mm/yyyy but sql analyser require datetime in mm/dd/yyyy. So please suggest me the way. Here is my example Declare @str varchar(100),@strDate datetime Set @str='14/02/2010'--(dd/mm/yyyy) Set @strDate=@str Print @strDate

    Database database help tutorial

  • Save DataTable into Database
    N NET India

    I mean is it any way to save the datatable in sql server at a single turn

    ASP.NET database csharp asp-net sql-server sysadmin

  • Save DataTable into Database
    N NET India

    I have a DataTable filled with Columns and Rows in ASP.NET. I would like to save my Datatable inside my Database(Sql Server 2005).

    ASP.NET database csharp asp-net sql-server sysadmin

  • Asynchronous Postback for GridView's Select Command
    N NET India

    Hello Friends, I've a GridView inside an Update Panel. There is a Select Command inside the GridView as i click on Select Link for a row. It has to fill the labels with the value brought at RowCommand for Select Command but labels are outside of the Update Panel so it's not showing the values in the labels. But if i use PostBack Trigger then it's working fine but taking an postback. So i want to use something for AsynPostBack. So suggest me the way

    ASP.NET database announcement

  • Insert Record from Textbox into GridView
    N NET India

    It may be very easier for you to do but not for me. Actually I've to add row with data into gridview using javascript. And i've reached to an extent. But i'm not getting how to insert the record into gridview. I've done to add into a 'tbody' tag. Please suggest me the way or what changes i should make in my code. I'm giving my code below. { var myTable = document.getElementById("ctl00_cphAdminMaster_GridView1"); var tBody = myTable.getElementsByTagName('tbody')[0]; var newTR = document.createElement('tr'); var newTD = document.createElement('td'); newTD.innerHTML=document.getElementById("ctl00_cphAdminMaster_txtName").value; newTR.appendChild (newTD); //tBody.appendChild(newTR); myTable.appendChild(newTR); }

    ASP.NET database

  • Insert Record from Textbox into GridView
    N NET India

    Hello Friends, I've a textbox and Button As i click on button it should generate a new row to insert and insert the data into GridView's row from textbox. Actually i've to save the data into gridview and finally into database from gridview.

    ASP.NET database

  • Text-Align="Right" in theme
    N NET India

    Hello Friends, Can anybody let me know how to set Text-Align="Right" in theme.

    ASP.NET tutorial

  • GridView with Javascript
    N NET India

    Hello Friends, If i disable javascript in browser then my gridview's Select command is not working. So is it any way to work without javascript.

    ASP.NET javascript

  • Sending Mail over Intranet
    N NET India

    <mailSettings> <smtp> <network host="192.168.1.8" port="25" userName="myuserName" password ="1234"></network> </smtp> </mailSettings>

    ASP.NET csharp html com sysadmin help

  • Sending Mail over Intranet
    N NET India

    Hello Friends, I'm sending mail using the following code and mail is working fine. SmtpClient client = new SmtpClient(); string from = "manoj.msb1984@gmail.com"; MailAddress From = new MailAddress(from); //To whom the mail is being sent string to = "depth.heart@gmail.com"; MailAddress To = new MailAddress(to); //To whom Carbon copy is being sent if there is not don't write this code //string cc = "rawgirish@gmail.com"; //MailAddress Cc = new MailAddress(cc); //Creat an object for MailMessage MailMessage message = new MailMessage(From, To); //Set Message body HTML true otherwise sometime it send html code message.IsBodyHtml = true; //Add Your Subject message.Subject = "Add You Subject Here"; //Add Body of the Mail here string strBody = "Hello, This is Manoj Bisht <br> Got It"; message.Body = strBody; try { //Send the Mail client.Send(message); //Show sent message if mail is sent successfully Response.Write("Mail Sent Successfully"); } catch (Exception ex) { Response.Write(ex.Message.ToString()); } But when im using this code to send email over intranet it's throwing error as shown below {"Failure sending mail."} [System.Net.Mail.SmtpException]: {"Failure sending mail."} Data: {System.Collections.ListDictionaryInternal} HelpLink: null InnerException: {"Unable to connect to the remote server"} Message: "Failure sending mail." Source: "System" StackTrace: " at System.Net.Mail.SmtpClient.Send(MailMessage message)\r\n at Rough_New.cmdSend_Click(Object sender, EventArgs e)" TargetSite: {Void Send(System.Net.Mail.MailMessage)}

    ASP.NET csharp html com sysadmin help

  • Total Count
    N NET India

    Hello Friends, I've a table as shown below ID RefID 1 0 2 1 3 2 4 1 5 1 and i want to display it's output as shown below but i'm not getting the way please suggest a way ID RefID Total 1 0 3 2 1 1 3 2 0 4 1 0 5 1 0

    Database

  • Domain and Subdomain
    N NET India

    I've a single server but is it any other way to display the url as i want ex. http://noida.myDomain.com except the subdomain.

    ASP.NET com help tutorial

  • Domain and Subdomain
    N NET India

    Hello Friends, I'm working on property portal where i've to implement subdomain concept. for example http://www.myDomain.com is url of my site. And also, there are some locations as Noida,Gurgaon and etc. As any user click on Noida then my site should display the url as shown here http://noida.myDomain.com. For this i've implemented subdomain concept and also created some subdomain in Domain Panel. But now i've to ask Should i've to keep App_code and web.config file in subdomain(noida) folder as well because if i don't upload App_Code and web.config file in subdomain folder then it raise error(s). Is it any other way to implement this concept(Sub domain) please let me know.

    ASP.NET com help tutorial

  • Removing Scrolling from a body tag in javascript
    N NET India

    Sorry, its not working document.body.scrolling="no";

    ASP.NET javascript
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups