- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 96
- Posts with Upvotes
- 90
- Upvoting Members
- 58
- Downvotes Received
- 14
- Posts with Downvotes
- 14
- Downvoting Members
- 11
- Interests
- Computer programming , books , games , movies
- PC Specs
- windows 7 , 2nd Generation Intel(R) Core(TM) i5-2320 processor [3.0GHz, 6MB Shared Cache] 6GB DDR3-1333MHz…
568 Posted Topics
Re: as Pgmer said you can use the rowindex to get your last row here is code to get the last index . dim lastIndex as integer lastIndex=datagridview.rows.count -1 ' this code will give you the last index of row. Regards | |
Re: hello ! you can do this in this way also . [CODE] dim mycon as new sqlconnection("connectionstring") mycon.open() dim da as new sqldataadapter("select * from table1",mycon) dim dt as datatable da.fill(dt) combobox1.datasource = dt combobox.displaymember = "field name you want to show " combobox.valuemember ="field name you want to get … | |
Re: you can do like this [CODE] datetimepicker.value.date.tostring() 'or you can set format property according to your requirement . [/CODE] Regards | |
Re: try cmd.parameters.addwithvalue("@param",value) may be this will help you , but it is better to tell us what error you got at cmd.executenonquery() Regards | |
hello ! i want to develop the keycounter , i mean i want to get the total no. of key pressed by the user in the specific time , i have a code of keylogger , i can use it to get the text in that time period and after … | |
Re: to calculate the total payment use this code . [CODE] 'for example you have a grid having column name payment . 'now use this code at the button click event dim i as int dim total as decimal for i=0 to datagrid.rows.count -1 total = total + val(datagrid.item("payment",i).value.tostring)' or you … | |
Re: see this thread , for solution[URL="http://www.daniweb.com/software-development/vbnet/threads/401336"]http://www.daniweb.com/software-development/vbnet/threads/401336[/URL] | |
Re: just right click on your project in solution explorer window and select properties then just change the framework . it works for me in c# . i dont know it works for you in vb or not. or you can also try to add reference ,or just right click on … | |
Re: hello ! can you please tell me are you populating combo box from db using any method ? if yes then call that method at the load event of you form having combo box , if no then can you please rephrase your prob , Regards M.Waqas Aslam | |
Dear All , Hope everyone is fine. I have little question. We use this query normally in MSSQL select * from emp where empid in (1,2,3,4) How to write this query in lambda expression. Is there any way to perfrom above mentioned operation ? Best Regards | |
Re: well it is better to first add all the records of your all players in a datagrid then insert them in db by using loop . if you are not able to use datagrid then use datatable , insert all records in it then then save them using loop. If … | |
Dear All, I am working on IM app . I want to add call featuer in my app. I googled alot and downloaded 10's of projects but unable to execute them due to missing files. I am looking for running project of Doubango or PJSIP so that I can use … | |
Re: Hi , If you want to do it manually then follow following steps. 1- make a zip folder of wp-content folder. 2- now generate the database script. 3- open the generated script in any good text editor. replace localhost:port with your new web url in complete doc. 4- upload folder … | |
Dear All, I am not clear that where to ask this question so i am starting this thread here. In my country youtube is banned by the Govt. I want to create the website same as playit.pk. I dont know how this site is working are they using any proxy … | |
Re: just go to file menu then new project ---> other project types ---> setup and development ---> give name and select path where you want save your setup --->press ok after that a page will open having two columns , on your left side there will be there options 1-application … | |
Re: because all sharks are eated by whale :P why cant my computer do auto coding for me :P | |
Hello! I am working on updation of an old asp classic website. I have experience in Asp.net but dont know much about asp classic. I want to show my query results in xml format. I am getting data in my record set but unable to convert it into xml and … | |
Dear All! I am facing a small issue in showing xml in a proper format. I am getting proper xml data from my webservice. but after receiving it browser is treating it as a text and showing all test in single line. I want to show my xml data same … | |
Re: you can do something like this Page.ClientScript.RegisterStartupScript(this.GetType(),"CallMyFunction","MyFunction()",true); | |
Re: yes you can work on this idea. But I think you need something new in your inventory solution as there are lots of free online solutions are available. | |
Re: it is database application ? if yes then store data in encrypted format and on load of you master form check the date. You can also write date value in windows registry. here is the link [Click Here](http://stackoverflow.com/questions/1250455/read-and-write-to-the-registry-with-vb-net) . you can also save the date value in .ini file after … | |
Re: try to do something like this 'assume we have 8 textboxes with following name txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8 'now use this code Random random = new Random(); for(int i = 0;i<=3;i++) { int randomNumber = random.Next(1, 8); if(randomNumber == 1) txt1.Enable= false; if(randomNumber == 1) txt1.Enable= false; if(randomNumber == 1) txt1.Enable= false; . … | |
Re: I think you are changing just html of the grid and not performing backend operation. If possible please post your code here. | |
Re: you can use repeater control of asp.net for this purpose. just assign datasource to it. | |
Dear all! I am creating a proxy website, which will open a restricted site. Proxy is working very fine and I am happy with it.Now there is a site which only allow in my clients country. Site need username and password to allow user to view contents, Now I want … | |
Re: what type of elements you want to display ? you can use javascript and jquery for this purpose. Please be more specific about your issue. | |
Re: yes you can use ajax for this purpose. as minitauros said. | |
Re: If simply you want to import data in mssql server then you can use mssql server data import feature. | |
Re: use the shortcut key for the menu item and use normal form.show() code in menu button. | |
Re: use another div outside popup div to completly cover the background and set its background dark. | |
Hello All! I want to create my own proxy site. I googled alot and I find not a single solution in .net to do this. Everyone is using php for it. I am very new to php so i dont know how to use it. here is the code i … | |
Re: i think you can add value of label in query string . and on page load event just check if it is post back then get the value from query string and set to label :P . | |
Re: you can use simple ajax request in your email's html body. get that request and set some counter. I dont know this method is good or not but I think this will work. | |
Re: I simply take this example from w3school and made some changes hope this will help you <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> <script> $(document).ready(function(){ $("#Button1").click(function(){ $("#div1").fadeOut(); $("#div2").fadeIn(); }); $("#Button2").click(function () { $("#div2").fadeOut(); $("#div3").fadeIn(); }); $("#Button3").click(function () { $("#div3").fadeOut(); }); }); </script> </head> <body> <div id="div1" style="height:80px;background-color:red;"><input id="Button1" type="button" value="button" … | |
Re: just inspect element of given link. and download all js files and related code. then use it . | |
Re: Please rephrase your question.statement is ambiguous. | |
hello all ! I want to create a proxy site to allow users to surf anonymously. I am unable to understand the logic of it. Need some tips and basic information about it. Regards | |
Re: You have to create a complete module of user management for your site. | |
Re: hello please check these links [URL="http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e06b8953-a62b-2d10-38b9-ca71f747e2b1?QuickLink=index&overridelayout=true"]http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e06b8953-a62b-2d10-38b9-ca71f747e2b1?QuickLink=index&overridelayout=true[/URL] [URL="http://www.xmpkw.com/topics/8403"]http://www.xmpkw.com/topics/8403[/URL] Regards | |
Dear All ! I am facing very strange issue of my online application. There are two images are attached with this post: 1-Snap shoot of my PC 2-Snam shoot of client PC There is a asp tab control having menu. At client end its visibility is hidden i dont know … | |
Re: simple , try this $('a').click(function(){ var id = jQuery(this).attr("id"); //now you have id of clicked tag. alert($('#' + id).length()); }); | |
Re: hi, you can try this hack hope this will help you <img src="your link" style="width:400px;height:400px;width:400px\9\0;height:400px\9\0;"> hope this will solve your prob . here are some other hacks color:red; /* All browsers */ color:red !important;/* All browsers but IE6 */ _color:red; /* Only works in IE6 */ *color:red; /* IE6, IE7 … | |
Re: check this [Click Here](http://stackoverflow.com/questions/12759151/how-to-open-txt-file-and-display-in-text-box-using-vb2008) | |
Re: Use asp.net label control and on click event of print button simple get the last entered record using datareader or dataadapter . | |
Re: This is my webservice code. May be this will help you brother :) Imports System Imports System.Web Imports System.Collections Imports System.Web.Services Imports System.Web.Services.Protocols Imports System.Data Imports System.Data.SqlClient Imports System.Web.Script.Serialization Imports System.Web.Script.Services Imports System.ComponentModel Imports System.Collections.Generic <System.Web.Script.Services.ScriptService()> _ <System.Web.Services.WebService(Namespace:="http://tempuri.org/")> _ <System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <ToolboxItem(False)> _ Public Class commonWebservice Inherits System.Web.Services.WebService <WebMethod()> _ … | |
Dear All ! I am starting R&D for Microsoft CRM and HRM. I have some basic knowledge about CRM and HRM but I want to know is there any offline version of both ? or we can only use it online. If you have some important links having some information … | |
Re: please check this [Click Here](http://www.bitspedia.com/2012/05/how-session-works-in-web-applications.html) |
The End.