No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
How can insert words with special char like flower's, Newton's etc in C# using textbox with multiline mode |
|
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.SqlClient; using System.Configuration; namespace Discussion { public partial class Reg : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Submit_Click(object sender, EventArgs e) { string Sname = TextBox4.Text; string Username = txtUse.Text; string … |
|
actually the text box with multi line property does not support special characters in c# , how to solve this problem? Please can any one help to find a solution for this |
|
how can i send a bulk message (not mail) to the cell from system using C#? |
|
Hai I have written a code for a hyperlink and now I need to redirect this page to another page,how can I do that? HtmlAnchor htmlanchor = new HtmlAnchor(); htmlanchor.HRef = "#"; htmlanchor.InnerText = myLabel1.Text; this.form1.Controls.Add(htmlanchor); |
|
How do I write a C# code to like and dislike comments in disccussion forum? |
|
Dim Cname As String Dim CID As Integer Dim Rmaterial As String con = New OleDbConnection("Provider=Microsoft.ace.Oledb.12.0;Data Source= C:\Users\Lenovo\Documents\Visual Studio 2010\Soft\Database\Login.accdb") con.Open() cmd = New OleDbCommand("select * from Purchase where CompanyID='" & txtnum.Text & "'", con) dr = cmd.ExecuteReader() If txtname.Text = "" And txtnum.Text = "" And txtraw.Text = "" … |
|
I TRIED TO POPULATE DATA FROM DATABASE INTO THE COMBO BOX AND. ... USING COMBOBOX TO RETRIEVE DATA FROM THE DATABASE AND DISPLAY IT IN TEXTBOX. Im using Vb.net with Acess database Please tell me how to do this. |
|
Private Sub ComboBox3_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox3.SelectedIndexChanged txtdayattended.Enabled = True sql = " select work_day from tbl_yearset where month='" & ComboBox3.Text & "'" If rs.State = 1 Then rs.Close() rs.Open(sql, conn) If rs.EOF = False Then txtworkday.Text = rs(0).Value End If End Sub Please let … |
|
Private Sub btnInsert_Click(sender As System.Object, e As System.EventArgs) Handles btnInsert.Click Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Dim Pnum As Integer Dim InDate As Date Dim PDate As Date Dim Amount As Integer Dim CmpID As Integer Dim Tax As Integer Dim TaxAmt … |
|
Sub empno() ComboBox2.Items.Clear() sql = "select empno from tbl_empinfo" If rs.State = 1 Then rs.Close() rs.Open(sql, conn) Do While rs.EOF = False ComboBox2.Items.Add(rs(0).Value) rs.MoveNext() Loop End Sub how do i write this for an access connection??? |
|
Actually I'm doing a project to maintain the company info, here i wanted to write a code to check whether the company id already exists or not. that is if the id 123 is already present in the access database then it shuld show the msg that it already exist. … |