Ask a Question related to ASP.NET General, Design and Development.
-
Gene Gorokhovsky #1
Re: ViewState + AutoIncrement -- Okay; Session + AutoIncrement -- Not okay
try calling the following function
private static void KludgeAutoIncrement(DataColumn dc, int value)
{
try
{
System.Reflection.BindingFlags bf =
System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.NonPublic |
System.Reflection.BindingFlags.GetField |
System.Reflection.BindingFlags.IgnoreCase
|System.Reflection.BindingFlags.Instance;
System.Reflection.FieldInfo fInfo =
dc.GetType().GetField("autoIncrementCurrent",bf); fInfo.SetValue(dc,value);
}
catch (Exception)
{
//when the field is gone, perhaps MS fixed the autoincrement bug
}
}
Gene Gorokhovsky Guest
-
Failed to load viewstate. The control tree into which viewstate...
Hi to all, I have a webform.aspx and inside i have a dropdown list with autopostback and a place holder... Depending of the selected index... -
primary key - an email address or autoincrement integer
I have a users table, the typical firstname, lastname, phone, email etc.. Will have about 10,000 users. Mostly all selects as opposed to... -
SHOW TABLE STATUS & Autoincrement???
Can someone please tell me what the Auto_increment field in the SHOW TABLE STATUS output means? I checked the online documentation and couldn't get... -
autoincrement problem
i have a contact database and basic pages setup with ability to add contacts. i have implimented a notes feature that will allow each user to add... -
autoincrement reset
Hey, I was wondering if it's possible to reset the "auto_increment" feature in MySQL. For example, if I have a database with a list that will...



Reply With Quote

