Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:879369
More Search Options
RSS Available
Matching Posts
Somtimes losing Dataset values in web application
Hello In My web application sometimes I face below problem. Sometimes if I open my web application then at home page in one dataset I got different columns as I wrote in my SQL query. It happened not everytime. but in a day 2 to 3 times i face this problem. when getting this error after that if I refresh page 2 to 3 times web page is working fine. Please if any one knows then help me.
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/29/2009
Re: Somtimes losing Dataset values in web application
This is not problem of perticular code or web page. Sometimes I lost values of dataset so getting error in any page of website.
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/29/2009
Re: Text property of Dropdownlist
USE BELOW CODE -------------------------- SqlDataReader drd; if (drd.Read()) { drpcompname.Items.Add(drd.GetValue(0).ToString()); } May be this help........
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/9/2009
Re: Text property of Dropdownlist
USE BELOW CODE -------------------------- SqlDataReader drd; if (drd.Read()) { drpcompname.Items.Add(drd.GetValue(0).ToString()); drpcompname.Items.FindByText("drd.GetValue(0).ToString()").Selected = True; } May be this help........
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/9/2009
Re: How to Display 404 Error for page not found...
follow these steps. ------------------------- first wriet this code to web.config file <customErrors mode="On"> <error statusCode="404" redirect="nopage.aspx" /> </customErrors> now in VB code if not found any record from database then write below line of code. response.redirect("AAA");
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/9/2009
Re: How to remove aspx extensions for a webpage
follow these stpes -------------------------------------- set this code to web.config file. <customErrors mode="On"> <error statusCode="404" redirect="process.aspx" /> </customErrors> now made one aspx page process.aspx and put below code at page load time.. //*********** splitt by '/' char[] splitter1 = { '/' }; string[] arr1 = Request.ServerVariables["QUERY_STRING"].Split(splitter1); //*********** splitt by '/' if
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/9/2009
Re: Large Numbers
the max limit of the numeric and the decimal if the 38 so you can take the numeric field up to 38 digits. the other way is the "bigint" datatype to store the large number in the database
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/8/2009
Re: How to format datetime to show time left?
may be this will help you to finding the solution ----------------------------------------------------------------------------------- 1) HERE IS MON DD YYYY HH:MIAM (OR PM) FORMAT ==>’ + CONVERT(CHAR(19),GETDATE()) 2) HERE IS MM-DD-YY FORMAT ==>’ + CONVERT(CHAR(8),GETDATE(),10) 3) HERE IS MM-DD-YYYY FORMAT ==>’ + CONVERT(CHAR(10),GETDATE(),110) 4) HERE IS DD MON YYYY FORMAT ==>’ + CONVERT(CHAR(11),GETDATE(),106) PRINT ‘5) HERE IS DD MON YY FORMAT ==>’ + CONVERT(CHAR(9),GETDATE(),6
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/6/2009
Re: to Enalrge the image
in your gridview < asp : TemplateField HeaderText ="Picture"> < ItemTemplate > <a id="aphotos" runat="server"><asp:Image ID="imgmyphoto" runat="server" ToolTip='<%#container.dataitem("photoname") %>' ImageUrl='<%# "Photo\Thumb\" & container.dataitem("photofile") %>' /></a> </ ItemTemplate > </ asp : TemplateField > and in the gridview's item
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/6/2009
Re: Global Variable
make a class that have a shared variable and then u can access that variable in any of the page with classname.variablename. exapmle : Public Class GlobleVariable Public Shared str As String = "" End Class then u can use this variable to any where in ur any aspx.vb file as like GlobleVariable. str = value
Posted to
Getting Started
(Forum)
by
pateldevang84
on 7/6/2009
Page 1 of 2 (12 items) 1
2
Next >
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Silverlight:
Silverlight HVP Design Update
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online