- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 2
49 Posted Topics
Re: You can loop the Rows of the DataTable to move to the Next data row... But since you need to get the next row entry on button click then you can declare an int variable that would increment the value by 1 on every click.. Here's an example: [code] private … | |
Re: Hi Refer this link [url]http://www.c-sharpcorner.com/UploadFile/sthangaraju/ImageViewerinCSharp11262005063149AM/ImageViewerinCSharp.aspx[/url] Thanks, Paul daniel | |
Re: Refer this link [url]http://haacked.com/archive/2009/04/14/using-jquery-grid-with-asp.net-mvc.aspx[/url] | |
Re: Hi Try this code [CODE] pathdb=System.IO.Path.GetDirectoryName(System.Refl ection.Assembly.GetEntryAssembly().Location); pathdb=pathdb+@"\database"; [/CODE] Thanks, Paul daniel | |
Re: [QUOTE=kdcorp87;1118148]thanks,it is a great way, is there any way that i can use it in webfrom.aspx?[/QUOTE] you have to enable keyPreview to True and on the keydown event of the form you should write that on what keycode it should raise this event. ex... if (e.KeyCode == Keys.F8) { write … | |
Re: [QUOTE=rcbpro;1145908]I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not … | |
Re: [QUOTE=Rohith Reddy;1144617]Hello, I am currently using a datalist to update the database with a textbox control. The problem is that when I am pressing "Edit" and entering values in the textbox and when trying to update the database, the database is not getting updated with the entered value. Could someone … | |
Re: [QUOTE=kanuri1;1145719]hi anyone please give me the dll code for converting date format mm/dd/yyyy into dd/mm/yyyy. here iam using asp.net with vb.net... hi it was very urgent please help me.....[/QUOTE] [CODE] Dim dateformat As New DateTimeFormatInfo() dateformat.ShortDatePattern = "MM/dd/yyyy" result = Date.Parse(dateString, dateformat) [/CODE] | |
Re: [QUOTE=kiranbvsn;1145808]hi, i've got a problem in asp.net i am using a master page with standard headers and footers in all the child pages. i've given the links of the header image in a cssstyle sheet and linke the style sheet in aspx master page, but how to include the header … | |
Re: [QUOTE=bigtreeworld;1143626]Hey, I want to get the user's approximate location (down to like a 1km radius) by their IP. Is this possible in VB Express 2008?[/QUOTE] Refer this link [URL="http://www.justin-cook.com/wp/2006/11/29/determine-a-visitors-location-by-their-ip-address/"]http://www.justin-cook.com/wp/2006/11/29/determine-a-visitors-location-by-their-ip-address/[/URL] | |
Re: [QUOTE=amit3119;1145835]I want to insert,update,delete,select using dataset in vb.net[/QUOTE] To bind to a gridview u dont require a dataset instead u can use a datatable for that. Here i explain u how to do that. 1. Drag drop one grid view into ur form 2. Make it autogenerate colums "false" and … | |
Re: [QUOTE=sanz;1143310]hi i am trying to retrieve picture in picture box from db but my code is not working. [B]INSERTING PICTURE IN DATABASE[/B] [CODE] private void saveToolStripMenuItem_Click(object sender, EventArgs e) { button1.Hide(); button2.Hide(); comboBox1.Hide(); textBox1.Show(); foreach (object ab in barcodes) { string sto = ab.ToString(); string str = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and … | |
Re: Hi Try this [CODE] Private Function TrapKey(ByVal KCode As String) As Boolean If (KCode >= 48 And KCode <= 57) Or KCode = 8 Then TrapKey = False Else TrapKey = True End If End Function Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress e.Handled = … | |
Re: [QUOTE=cricket2030;1118007]Hello, I am taking a VB.net class and am having trouble seeing the difference between event driven and object oriented programming. This will not help on any assignments, I have already turned it in, but I do not understand why VB6 is considered event driven and .NET is object oriented. … | |
Re: Hi Refer this link [url]http://msdn.microsoft.com/en-us/library/b873y76a.aspx[/url] | |
Re: [QUOTE=dhanasekaran16;1118364]i have a textbox and dropdownlist .whenever the dropdownlist content change then the texbox will display something and it isdifferent for each item in the dropdownlist try to sovle it by asp.net using c#[/QUOTE] Refer this link [url]http://stackoverflow.com/questions/833370/how-to-change-data-display-in-a-textbox-from-a-dropdownlist-selection[/url] | |
Re: Refer this links [url]http://www.codeproject.com/KB/WPF/ImageColorPicker.aspx[/url] [url]http://www.advancedqtp.com/knowledge-base/qtips/win32-id66/get-pixel-color/[/url] | |
Re: Try in this link [url]http://www.developerfusion.com/tools/convert/csharp-to-vb/[/url] | |
Re: [QUOTE=Monster Killer;1118160]I am trying to make a notepad type thing that uses tabs. Each tab has a rich text box on (After being added via buttons) but am really unable to find a way to get the print preview to preview a certain, single text box on tabs. And obviously … | |
Re: To print and preview the report Refer this link [url]http://www.vb-helper.com/howto_net_print_and_preview.html[/url] | |
Re: [QUOTE=Thyoric;1118400]Hello, I'm trying to find a way to darken an image that can later have certain spots undarkened. I have tried by simply drawing a semi-translucent rectangle over the image, but I cannot figure out how to relighten a selected spot. Any help on this would be great.[/QUOTE] Refer this … | |
Re: Hi Refer this link [url]http://www.aspfree.com/c/a/ASP.NET/Uploading-Images-to-a-Database--C---Part-I/[/url] | |
Re: [QUOTE=asim rehan;1096288]Can You give me the code of detecting text from an image, i am a student and i am doing programing at beginner level. so please help me out.[/QUOTE] Hi Try this [CODE] Bitmap image = new Bitmap("eurotext.tif"); tessnet2.Tesseract ocr = new tessnet2.Tesseract(); ocr.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only … | |
Re: Hi Try this Private Sub Command1_Click() With Me.List1 .AddItem "a" .AddItem "b" .AddItem "c" .AddItem "1" .AddItem "2" .AddItem "3" End With End Sub Private Sub Command2_Click() Dim i As Integer 'START AT LAST LIST ITEM AND WORK TO FIRST For i = Me.List1.ListCount - 1 To 0 Step -1 … | |
Re: [QUOTE=dr.e;1105779]Hi. Can some one please help me as i am trying to read from access database and that work with data in a program. I used to work with VB from previous version and now it seems to me there are differencies. If someone can paste a working simple code. … | |
Re: Hi Refer this link [url]http://www.neodynamic.com/ND/FaqsTipsTricks.aspx?tabid=66&prodid=1&sid=59[/url] | |
Re: Hi First u need to import the System.data.sqlclient namespace. Write the follwing code in Form_Load Dim cn as new SqlConnection("connectionstring") Dim da as new SqlDataAdapter("select custname from customers where custname like 's%'", cn) Dim ds as new DataSet da.fill(ds,"customers") DataGrid1.datasource=ds.tables("customers") | |
Re: Hi Refer this link [url]http://www.cpearson.com/excel/ImpText.aspx[/url] | |
Re: [QUOTE=makdu;1095676]Hi, I have an application and this application needs to close when the window shutdown happen. How can i detect that the system is shutting down from a C# program[/QUOTE] Hi Try this code If you override the WndProc and intercept the WM_QUERYENDSESSION message (shown below) then you can handle … | |
Re: [QUOTE=bawa;1098899]as i m a new in this field so i hope u all guyss r profeshionalist ......................... so plss guide me that how should i link aur connect one form wid another.............[/QUOTE] Hi If you use windows application Try this link from one page to another Me.hide Form2.show | |
Re: Hi connection string used TCIP/IP and a specific IP address: Data Source=192.162.1.100,1433;Network Library=DBMSSOCN; Initial Catalog=Northwind;User ID=sa;Password=; | |
Re: [QUOTE=xfrolox;1099697]I'm just trying to add a simple function to the textbox for security that if i only allow 0 - 9 Numbers and i try to put a letter it wont let me i forgot the code so if any can help me ...[/QUOTE] Hi Try this code [CODE] Private … | |
Hi to All i have a datagrid and i want to bind it with array i will bind it but how to store data in to array means i want to write code to get the file name which is in specific folder in hard drive and i want to … | |
Hi to all I am using link button--click on that gridview will show some datas from db. I dont want to load the whole page, how to refresh gridview only. thanks in advance | |
Re: [QUOTE=abhay1234;1098972]Dear sirs, I am trying to learn vb.net in 2005 and 2008.Where can i get good tutorials to learn basic as well as advanced. OOPs and web development etc. thank you[/QUOTE] Hi Refer thees links [URL="http://www.exforsys.com/tutorials/vb.net-2005.html"]http://www.exforsys.com/tutorials/vb.net-2005.html[/URL] [URL="http://www.itquestionbank.com/Ebooks/vb-.net-2005"] http://www.itquestionbank.com/Ebooks/vb-.net-2005[/URL] [URL="http://visualbasic.about.com/od/learnvbnet/a/LVBE_L1.htm"]http://visualbasic.about.com/od/learnvbnet/a/LVBE_L1.htm [/URL] Thanks, Paul daniel | |
Re: Hi Refer this link [URL="http://blogs.msdn.com/coding4fun/archive/2006/10/31/912546.aspx"]http://blogs.msdn.com/coding4fun/archive/2006/10/31/912546.aspx[/URL] | |
Re: [QUOTE=umair125;1098944]i want to connect SQL server in C# application plz help how can i Connect DB in C#???[/QUOTE] Hi Try this Using System.Data.Sqlclient; is the namespace to connect db sqlconnection con=new sqlconnection("Data Source=localhost;Initial Catalog=Northwind;User ID=sa"); Thanks, Paul daniel | |
Re: Hi Try this [CODE] Dim conn As New SqlClient.SqlConnection() Dim cmd As New SqlClient.SqlCommand() conn.ConnectionString = "Data Source=(local);Initial Catalog=myDatabase;Integrated Security=SSPI" conn.Open() conn.close() [/CODE] Thanks, Paul daniel | |
Re: [QUOTE=kanuri1;1095474]hi, pls help me how to generate crystal reports in asp.net using vb.net database is sql server.. any internet sites..[/QUOTE] Hi Step By Step Explanation of crystal report see this link [url]http://vb.net-informations.com/crystal-report/vb.net_crystal_report_step_by_step.htm[/url] Thanks, Paul daniel | |
Re: Hi Refer this link you may get some ideas for displaying image during print [URL="http://www.c-sharpcorner.com/UploadFile/srajlaxmi/PrintingWindowsForm01182008021239AM/PrintingWindowsForm.aspx"] http://www.c-sharpcorner.com/UploadFile/srajlaxmi/PrintingWindowsForm01182008021239AM/PrintingWindowsForm.aspx[/URL] Thank, Paul daniel | |
Re: Hi Try this code [CODE] Dim intImageSize As Int64 Dim strImageType As String Dim ImageStream As Stream ' Gets the Size of the Image intImageSize = PersonImage.PostedFile.ContentLength ' Gets the Image Type strImageType = PersonImage.PostedFile.ContentType ' Reads the Image ImageStream = PersonImage.PostedFile.InputStream Dim ImageContent(intImageSize) As Byte Dim intStatus As Integer … | |
Re: Hi Directly u get d values from gridview to textbox while in button click event Try this code [CODE] Textbox1.txt=Gv1.rows.cels[1].text; [/CODE] Thanks, Paul daniel | |
Re: Hi Refer this link for uploading nested image and delete the images from loacal path [url]http://www.codeproject.com/KB/ajax/AJAXUpload.aspx[/url] Thanks, Paul daniel | |
Re: [QUOTE=Atove;1093913]Try writing it out like this, should work. [CODE] Poplist2 = "SELECT Machine_ID, Make, Model, Problem, Rating, MacStatus WHERE Rating =" & NewTime & ";" [/CODE][/QUOTE] Hi Try this [CODE] Poplist2 = "SELECT Machine_ID, Make, Model, Problem, Rating, MacStatus from tablename WHERE Rating =" & NewTime & ";" [/CODE] Thanks, … | |
Re: Hi Try this code [CODE]Image myImg = Image.FromFile("Image path"); [/CODE] Thanks, Paul dani | |
Re: Hi Try this [CODE] select *,identity(int,0,3) as myId from myTable [/CODE] Thanks, Paul dani | |
Re: Hi Refer this link [URL="http://www.sommarskog.se/share_data.html"] http://www.sommarskog.se/share_data.html[/URL] Thanks, Paul dani | |
Re: Hi Refer this links [URL="http://www.homeandlearn.co.uk/csharp/csharp_s15p2.html"]http://www.homeandlearn.co.uk/csharp/csharp_s15p2.html[/URL] [URL="http://www.aspnettutorials.com/tutorials/graphics/Drawing-Csharp.aspx"]http://www.aspnettutorials.com/tutorials/graphics/Drawing-Csharp.aspx[/URL] [URL="http://www.developer.com/article.php/1435391"] http://www.developer.com/article.php/1435391[/URL] Thanks, Paul dani | |
Re: [QUOTE=jainmukesh;1093022]Can anyone help me out to have the code & steps to have the crystal report in my application...[/QUOTE] Hi Refer this link [URL="http://vb.net-informations.com/crystal-report/vb.net_crystal_report_step_by_step.htm"]http://vb.net-informations.com/crystal-report/vb.net_crystal_report_step_by_step.htm[/URL] Thanks, Paul dani |
The End.