Re:
Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do.... | |
Re:
I have a Login user control in a Login form. I want to set the default Enter press to a button called LoginButton in my user control.How can I do it in C# using Visual studio ? | |
Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var … | |
Re:
I use button for by clicking it to delete one row in the DataGridView. This is the code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); I use xml file as the source of dataset which is sourcedata of the DataGridView. It makes problems when I [B]delete last row[/B]. What can I do? pls, help | |
Re:
Hi all, I have table in Javascript and it has addrow, deleterow, submit, and functions. when i click it automatically adds new row and it has select option to choose some of them for ex. in added two rows one of them is Motherboard Asus and other is Motherboard Gigabyte. … | |
Re:
I am using VB 2008 and have a datetime picker. I wam trying to use this value in an INSERT command to load in to a table but I just can't get it to work. I debug it out which shows something along the lines of "24/03/2010" but it just … | |
Re:
Hi all I just want to know, how to insert the data from a datagrid into access database? please help me.... :'( | |
Re:
Hi guys I want to join two tables and executive the sql statement.I mention what is code i wrote ,Once Complie the code it says Error1 The left-hand side of an assignment must be a variable, property or indexer [CODE]SqlConnection Con3 = new SqlConnection("Data Source=IT;Initial Catalog=Test;Integrated Security=True"); Con3.Open(); string str1 … | |
Hi All, I'm new to Blog concepts.Is it possible to post the comments to website using the webservice instead of directly post the comments in website. Any help can welcome. | |
Re:
I have a program that adds controls on the fly to an auto-scroll panel. When the panel is scrolled (viewing the bottom of the panel for example) and a control is added, it looks like it is added assuming the top left corner of the panel is still at 0,0 … | |
Re:
I am writing a program that needs to log in to a web site. I have used the following code in my event handler. [code] If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then WebBrowser1.Document.All("password").SetAttribute("value", Password) WebBrowser1.Document.All("email").SetAttribute("value", email1) 'WebBrowser1.Document.All("comments").SetAttribute("value", comment1) WebBrowser1.Document.Forms(1).InvokeMember("submit") End If [/code] the email and password fill in fine but the submit … | |
Re:
this is my code:: [code] TextBox[] tbArray = new TextBox[] { TextBox1, TextBox1, TextBox1 }; for (int j = 0; j < tbArray.Length ; j++) { tbArray[j].Visible = true; } [/code] this code is success but only one textbox show not three textbox.. Can any one help me. Thanks | |
Re:
Hi, I have a textbox named fullnameTextbox. I want the user to only type letters in that textbox.I have a code for it but when there is a spacebar between 2 correctly typed words my error message pops up.How can i fix this? [CODE] Match matchMyRegex = Regex.Match(fullNameTextBox.Text, "^[a-zA-z]*$"); if … | |
Re:
I have created simple database project, using vb.net, ado.net, oledb, datatable, datagridview. My program is working nice, I just need Help with how to add, delete, update and edit records. Can any one please and please help me in this case, or can provide any good tutorial or source code … | |
Re:
Hello Everybody, I have used inner join with two tables to join them and tried to calculate the sum of rows. Now the table descriptions are- Table1- agent_business_collection (it stores business collection of an agent of different business packages) Table2 - agent_business_commission (it stores commission of an agent against different … | |
Re:
I am getting this error when i am accessing my pages from virual directory. The virtual path '~/Masterpage.master' maps to another application, which is not allowed. Could anyone resolve this problem. | |
Re:
Hi, In one of my vb.net 2008 application i have called a java class file through batch process which creates txt file and jar file and put in app path folder. When i run the application it creates only txt file in the app path and not the jar file. … | |
Re:
Hello there... can somebody guide me on this… I have a panel (say, panel1) inside another panel (say, outer-panel)….The panel1 is visible only when a checkbox is checked in the outer-panel. I have many text boxes in the panel1. I have to put a validation on all the boxes. I … | |
Re:
I have a database I am creating with about 50 users over a network. There are about 6 groups of users and these users are spread across 10 branches. I want to block/allow users from particular forms and views. For example I want branch users forms to be filtered by … | |
Re:
I am trying to use C# after using VB for a while. The problem that i am facing right now, is resizing things. In VB i would use the following: [code] Private Sub TextBox_Resize() handles mybase.sizechanged 'change the size of the text box when the size of the main control … | |
Re:
ok so i'm trying to set up my program to insert a new record to my database i keep getting a insert syntax error [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click '************************************************ '* ** '* will first verify that all necessary information needed ** … | |
Re:
Hi! I have following problem. I need to select multiple random rows in DatagridView with keypress. Ex: Row1 -selected Row2 -not selected Row3 - selected I do have part of code that will update certain field in database on keypress, but i have no idea how to create multiple selection … | |
Re:
Hello, I am trying to get a response from a URL using the following method [CODE]public void IsUrlReachable() { HttpWebRequest webRequest; WebResponse webResponse = null; //Need to assign this as null otherwise it does not compile try { webRequest = WebRequest.Create("http://[myurl].asmx"); webRequest.Method = "GET"; webRequest.KeepAlive = false; webResponse = webRequest.GetResponse(); … | |
Re:
Hi, In my DialogResult form which pops out when the user want to delete something ,the close button is shown disabled(cant click on it).How can i enable it? thnx in advance | |
Re:
Hi I want the user to only type letters (a-z simple or capital) in the Name textbox.If the user types any other character(like numbers or commas,semicolons) I want to show a message.How can I check for it(in C#)? Thnx in Advance | |
Re:
Hi , I am running a windows setup file . I have included an exe file within an installer . The following error is coming "Error 1500.Another installation is in progress. You must complete that installation before contiuing this one." Regards Ajith S Kulgod | |
Re:
I have written a program to insert the values into datbase and a field named SNO which should be auto incremented whenever an insert happens. I have aready created a table but did not set SNO as increment!! Kindly help to set this constraint in SQL !! Query: Alter table … | |
Re:
Hey Guys! , Im having a bit of a problem here. I need to add a certain string in this case ([B][COLOR="Red"]'[/COLOR][/B]) infront of every item in my listbox. So lets say items are : item1 item2 item3 item4 After i execute a code i want it to be item1' … | |
Re:
hi to all.... actually i m facing a problem..i had convert the vb to c# code using [url]http://www.carlosag.net/Tools/CodeTranslator/[/url] wen i try run it ..i get the error... here i copied the small part of VB code...that i face the error [CODE] Private Sub GenerateImage() ' Create a Bitmap Object Dim … | |
Re:
[CODE] Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Dim conn As New OleDbConnection("<connection string>") Dim hasErrors As Boolean = False Try If txtUserName.Text <> "" Then Dim SQL As String = "UPDATE addresses SET PinCode= '" & txtPinCode.Text & "' , " & _ "Occupation= … |
0 Reputation Points
0 Endorsements
Ranked #2K
Ranked #585
~26.6K People Reached
Favorite Forums
Favorite Tags