12,085 Topics
| |
I am currently developing a CMS for my firm using .NET Framework ,ASP.Net(C#) & SQL Server Express 2008 ADV. Whenever a user creates an Article i want to genrate a permalink for each article so that navigation is simple instead of using query strings and exposing article id to common … | |
Hi all, I've decided to start another thread for my old health app https://www.daniweb.com/web-development/aspnet/threads/496278/building-first-mvc-application as the old thread was pretty confusing and didn't lead me anywhere. With the knowlegde coming from developing the previous simple book review app here https://www.daniweb.com/web-development/aspnet/threads/497464/much-simpler-first-mvc-application I've also decided to take a different approach: I'll build … | |
My code is not working on selectedindexchanged on dynamic radiobuttonlist control public void data1() { Table tbldynamic = new Table(); for (int i = 0; i < 4; i++) { connection = new DAL_Layer(); dt = new DataTable(); dsCommonData = connection.returnDataSet("pro"); dt = dsCommonData.Tables[i]; TableCell tc1 = new TableCell(); TableRow … | |
Am looking for case study or example of e commerce website developing by asp.net and what the strengths and weakness on it | |
how to provide textbox while uninstalling the .net application | |
Hai , I used gridview for student list , and export it to pdf. But the 2nd column is not need to export. I make the gridview's 2'nd column visible false. [CODE] GrdStudent.Columns[2].Visible = false; [/CODE] But pdf file contain this column. Can you help me to solve it. Regards, … | |
HI guys, I'm just about to build a small, simple expenses application. Basically I'd like to keep track of how much money I'll make by selling some stuff, and therefore I have to input the income and have a total of it, the expenses (fee, refunds) and total it and … | |
hi, I want to ask about how to declare dropdownlist in vb.net. actually I'm a newbie to this vb.net language. I'm try to insert selected item from dropdownlist into database. but the data is not inserted in the table. and I've try to change the code at dropdownlist area. but … | |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. | |
how to export asp.net(using sql server as database) project from localhost to godaddy server??please help me | |
This is for reloading the current page. I used it for after comment the page. `Page.Response.Redirect(Page.Request.Url.ToString(), true);` protected void btn_insertComment_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("insert into Comment(commentNameSurname,commentEmail,commentContent,commentPicture,articleId) Values('" + txt_NameSurname.Text + "','" + txt_Email.Text + "', '" + txt_Comment.Text + "','/theme/comment.png', '" + articleId + "')", … | |
Hello ASP.NET programmers; I've been searching for solutions for Mailing using Gmail not just text but also with attachments. This code may help but I don't know what language they use to this: /* yahoo */ public bool SendYahooMail(string sToEmail, string sFromEmail, string sHeader, string sMessage,string Password) { SmtpClient client … | |
[CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.oledb" %> <%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="vb" runat="server"> Sub BindGrid() Dim connection As OleDbConnection connection = New OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=C:\Users\emong\Documents\Visual Studio 2008\WebSite1\App_Data/dbLupon.mdb") connection.Open() Dim … | |
Hello. I want to make a simple login page using MVC4, where both users and admins can log in. The users should be allowed to see their own details, edit their details. The administrators should be able to list all the users, show a specific users details, edit those details … | |
hello guys iam new to asp.net i want to build web applications for that what should i do suggest me guys | |
Hi guys, i am creating a search function on my web. This is the result [CODE]"SELECT [ROUTE], [INST_KEY], [INST_TYPE], [ACCT_KEY], [STATUS], [DMZ], [CUST_NAME], [ADDRESS_LINE1], [ADDRESS_LINE3], [ADDRESS_LINE4], [ADDRESS_LINE5], [METER_KEY], [SIZE], [INSTALL_DATE], [X], [Y], [Z], [ADDRESS_LINE2], [MI_PRINX] FROM [DBCUSTOMER] WHERE ([CUST_NAME] LIKE '%' + @CUST_NAME + '%')"[/CODE] This function just looking one … | |
I am trying to capture MAC Address of client PC but it is not possible so Please tell me any alternate option to capture unik identity of Client PC. Actually I am working on Web Application there requirement is one User can only use once question sheet After that it … | |
Hi All, I am trying to capture the MAC Address of Client PC but unable to get. Give me any solution for this. | |
try { frmCombination.Mode = "Add"; this.Clear_All_Controls(); this.Enable_All_Controls(); if (!(this.Form_Name == "Secured Life")) ; this.btnGenerate.Enabled = true; this.btnChange.Enabled = true; this.mskReportDate.Text = Convert.ToString(DateTime.Now); ****** if (this.Form_Name == "Secured Life") this.txtQuotation.Text = Common_Functionality.GenerateId("ProdMix_Quot_No", "Secured_Life_Quotation", "").ToString(); else this.txtQuotation.Text = Common_Functionality.GenerateId("ProdMix_Quot_No", frmCombination.tblAnnorSet, "").ToString(); this.SetupDataGridView(); this.SqlQry = "select Tax_Sec_80CCC_Limit,Tax_Sec_80D_Limit,Tax_rate_Limit from Global_Parameters"; Connection connection = new … | |
**I need help i have a page that contain - 2 textbox - Button - Literal Button . i need to insert a website in the first textbox .. " google.com" for example and the second textbox will take a search word... " for example" . when i click on … | |
while (rd.Read()) <table style="width: 14%; position: relative; top: -182px; left: 630px; height: 117px;"> <tr> <td> <asp:Image ID="Image1" runat="server" Height="102px" Width="114px" visible="true"/> </td> </tr> </table> protected void Page_Load(object sender, EventArgs e) { Label1.Text=Request.QueryString["Parameter"].ToString(); OleDbConnection cn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\user\\Documents\\EmpDB.accdb"); OleDbCommand cmd = new OleDbCommand("select * from Emp where ID= @imgID ", … | |
![Adsız.png](/attachments/large/4/9b08a3d91dacf2acb5d1a6fbd51a5487.png "align-center") if this question has mistakes sorry, my english not very good :) :) | |
Hello all, I decided to open a new thread which I could use to ask questions about how to customize this new MVC application I created https://www.daniweb.com/web-development/aspnet/threads/497464/much-simpler-first-mvc-application, add HTML and change the default look and feel. If the mods are OK with that, I was thinking to use this thread … | |
How would I go about creating a forum system in ASP .NET similar to that of this site? Did you create this forum system Dani? Any tips for me? Thanks, help is greatly appreciated. Slade. | |
Hello Guys, I have a asp site. and Now i'd like to install forum(Xeforo or Vbulletin) is it possible or not? I can use separate database and site | code but in the same root domain? Is it stable? Need your solution Much thanks Leon | |
Hello to all! I have learnt VB.net and used IDE Visual studio 2012. Know I have started learning java. But I have a confusion that can Java be used with .NET frame Work? If Yes then which IDE is required for this. As we know that for VB.Net, C#.Net and … | |
Sample code: Try Dim constr As String = ConfigurationManager.ConnectionStrings("FileDBConnectionString").ConnectionString Using con As New SqlConnection(constr) Using cmd As New SqlCommand() 'cmd.CommandText = "SELECT fldControlno, fldRecno, fldFileName ,fldDate FROM tblPDSTrainzATemp where fldRecno= ('" & txtrecordno.Text & "')" Convert(varchar, fldDate, 101) ' cmd.CommandText = "SELECT fldcontrolno,fldEmpID,Convert(varchar, fldDate, 101) as [Date],fldPosition, fldSalary, fldAttachType, fldfilename,fldfiletype,fldfiledata … |
The End.