Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #2K
~5K People Reached
Favorite Tags
Member Avatar for sancti

hi all, I am developing a web application. I have written one function in .aspx file. Now i want to call that function from the .aspx.cs file. How can I do this? Can anybody help me regarding this? thanks in advance

Member Avatar for guptanitesh1988
0
2K
Member Avatar for Edwin Ramokolo

i having a problem with my website i cannot login via my connection string i get a error say: ================================================================== Login failed for user ";. The user is not associated with a trusted SQL Server connection. Description: An unhandled exception occurred during the execution of the current web request. Please …

Member Avatar for guru_sarkar
0
137
Member Avatar for kanuri1

hi iam written the update commands very strengthly........ please short them..... here my commands are....... [CODE] conn.Open() Dim insert1 As New SqlClient.SqlCommand("update guesthouse set check= 'C' where (date_of_arr >= getdate() and date_of_dept >= getdate()) ", conn) Dim insert2 As New SqlClient.SqlCommand("update guesthouse set check= 'O' where (date_of_arr <= getdate() and …

Member Avatar for vizy
0
112
Member Avatar for omotoyosi

please, I want a sql query that will return the no of fields in a database as an integer example i have table student columns are regno surname othername I want my result to be 3 what do i do??

Member Avatar for kvprajapati
0
83
Member Avatar for .netidiot

Hi, i am developing a simple web application for fault reporting. Users log into the system and report a fault which is then added to a database. I want to be able to email the system administrator a log file containing the information which has been added to the database. …

Member Avatar for .netidiot
0
153
Member Avatar for vizy

Hi Friends, I am using update Panel to update the records without being page refreshed... and using updateProcess control to lock the screen with ModalPopup div Css.. After Updating the Record from the CS Files, giving the alert message using ScriptManager.RegisterStartupScript method. But this message is displayed on the modalPopUp …

Member Avatar for vizy
0
143
Member Avatar for vizy

Hi Friends, I have a web Application created, there is an option to Add/Edit the forms. My requirement is something like... When a user opens any record for editing, the details are displayed(binded) in texboxes,dropdowns,radiobuttons.. etc Here if the user modifies any data and clicks on any other link(within the …

Member Avatar for vizy
0
126
Member Avatar for vizy

Hi Friends, I am using Ajax AutoCompleteExtender for my search results(autoSuggest). The Control works fine and I could get the results coming from WebService in Panel with scrollable option. But I need the results shown are formatted as columnwise for ex : Name | Address | Phone# | EmailId with …

Member Avatar for vizy
0
128
Member Avatar for vizy

Hi Guys, I have 2 listboxes Listbox1,Lixtbox2.. I am moving items from Listbox1 to Listbox2.. and vice versa using Javascript with the button clicks. The code is working fine.. but I am unable to get the Updated(done using JS) Listbox Items at the backend(C#) file. I am using the UpdatePanel …

Member Avatar for vizy
0
129
Member Avatar for vizy

Hi Guys, I am in situation.. where I need to Convert List of Class objects to DataTable. for example : - Class Product - ProductId,ProductName,Description,Price are the Product class's get/set properties. - I got List<Products> - this need to DataTable any help would be great... Thank you

Member Avatar for JerryShaw
0
660
Member Avatar for divyasrinivasan

hi i want to have the code for editing,updating n deleting data in gridvoiew i tried a lot searching in google..i trid also but could not get the output....i want how to insert textboxes using the edit colums ....i want in detail pls help... 2.next is how to add rows …

Member Avatar for mail2saion
1
165
Member Avatar for sivak

when we go for webservices ? can any one explain me with example plz.....i have searched in google...i want real time example

Member Avatar for vizy
0
78
Member Avatar for happyns

Hello everyone Im doing a dummy project in asp.net. I have a table named trains with following fields: 1. Sno(Primary key, Identity Increment, integer) 2. Train_no(varchar(100)) 3. Train_name(varchar(200)) 4. Route(varchar(1000)) 5. Start(varchar(100)) 6. End(varchar(100)) For this i have created a stored Procedure in this way: [code]Create Proc [dbo].[sptrainselect] @select int, …

Member Avatar for vizy
0
119
Member Avatar for mansi sharma

I bound gridview with databse..property Checkbox -true . I have three columns roll,name ,roll. I want that on button_click, roll nos are displayed whose checkboxes are checked in gridview-- SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField > <ItemTemplate > <asp:CheckBox ID ="chk" runat ="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField …

Member Avatar for mansi sharma
0
108
Member Avatar for nithysony

HI Everybody, I am struggling with regular expression validation control.Actually my requirment is user can enter either [1-9] or [1-9] [1/2](half)like 2 1/2 value or only 2. I am struggling a lot.I got one expression.But i wont allow the user to enter only number.Its asking 1/2 also.The expression is ^\d* …

Member Avatar for vizy
0
71
Member Avatar for yorockk

hiii all, iam doing a project in asp.net and the back end is sql server. so when i tried the connection code it gives me an server error "Cannot open database "C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/Data/projdb.mdf" requested by the login. The login failed. Login failed for user 'YOGESH\Owner'. "

Member Avatar for greeny_1984
0
170
Member Avatar for newMeg

Hi, I'm stuck in a gridview operation. Baiscally i have an sql that select filesize from database. I need to convert the file ti Giga byte. So i cant find a method to do it in sql, what i plan to do is. Get the result from the sql, convert …

Member Avatar for vizy
0
217
Member Avatar for styles_p

[COLOR="Red"]StreamWriter sw = new StreamWriter("D:\\sss.txt"); DataTable dt = new DataTable(); DataColumn dc = new DataColumn("ID", typeof(string)); dc.AllowDBNull = false; dc.Unique = true; dt.Columns.Add(dc); dt.Columns.Add("FirstName", typeof(string)); dt.Columns.Add("LastName", typeof(string)); dt.Rows.Add(1, "aaa", "bbb"); dt.Rows.Add(2, "ccc", "dddd"); int length = dt.Columns.Count; int length1 = dt.Rows.Count; for (int i = 0; i < length; i++) …

Member Avatar for vizy
0
75
Member Avatar for divyasrinivasan

pls give me the complete code for it ..i tryed but not getting the output..pls help..iam pasting the code here but no output [code=aspnet] SqlConnection cn = new SqlConnection(ConfigurationSettings.AppSettings["con"].ToString()); protected void Page_Load(object sender, EventArgs e) { Response.Write("sql is connected"); SqlDataAdapter da = new SqlDataAdapter("select countryid,countryname from countryname", cn); DataSet ds …

Member Avatar for terrible
0
143
Member Avatar for Traicey

Guys I have a dropdownlist control with categories so when I select something from ddlCategory I wana display all the products fall under that category in a datagrid but I dont seem to get that right... here is the bit I have done [CODE=C#] protected void Page_Load(object sender, EventArgs e) …

Member Avatar for Traicey
0
196
Member Avatar for Traicey

I have 2 datagrid, 1 with details of Category and the other with the products user selected from the other datagrid, what Im saying is I have a select command on my 1st datagrid so when I select something from my 1st datagrid it should be added to the 2nd …

Member Avatar for 4advanced
0
78
Member Avatar for aan@ucsc

Could I run a java program without installing the java vitual machine on the computer?If yes how could I do it?

Member Avatar for Ezzaral
0
124